... selected color // ...}// restore the background color of the parent windowSetClassLongPtr(hWnd, GCLP_HBRBACKGROUND, (LONG_PTR)GetStockObject(WHITE_BRUSH)); In this example, we are setting the background color of the parent window to green using SetClassLongPtr() ...
Antonio buenos dias, gracias por la ayuda Agrego la VM.LIB (xharbour), y me manda estos errorres :( :( Proyecto: Kept5, Entorno: BorlandDLL: [1]:Harbour.Exe Source\Tseguro.prg /m /n /es2 /ki /iP:\32bits\xharbour\include;P:\32bits\FWH\INCLUDE /i /oObj\Tseguro.c xHarbour Compiler build 1.2.1 (SimpLex)...
I changed the folder I was using to start hbmk2 to where the source code sits, and now am getting undefined instead of duplicates This is due, I guess, to not pulling in the correct library(ies). I added trace to see what was going on (thanks for that tip). Does this and the console listing below he...
... XSCREEN PUBLIC TRADEH := YSCREEN - BUTTON_HEIGHT PUBLIC TRADEX := 0 PUBLIC TRADEY := 0 PUBLIC CUT800 := 230 PUBLIC CUT1024 := 230 PUBLIC HFONT := GETSTOCKOBJECT(OEM_FIXED_FONT) PUBLIC PRINTPORT := "1" PUBLIC ABUTTONS := {} PUBLIC TOTBUTTON := 0 PUBLIC BUTTNBLOCK PUBLIC TEMPTOTCOMM PUBLIC ...
... Se trata de las funciones SetDCPenColor(hDc,nColor) y SetDCBrushColor(hDc,nColor). Lo que hacen es que cuando elegis un Pen o un Brush con GetStockObject() podeis cambiarle el color sin tener que definir un pen/brush nuevo. Por lo que he experimentado, sólo funcionan con los objetos del ...
Hello Antonio I have a casual GPF error and don't know how to resolve . The message is :Offset : 001fb5f and this is the section of the MAP file 0001:0001F02C c611_0 0001:0001F02C __SetAcceleratorTable 0001:0001F047 _HB_FUN_SETIDLEACT 0001:0001F04C _HB_FUN___GENGPF 0001:0001F058 _HB_FUN_WINRUN 0001...
One more Setting included : using : PEN GetStockObject( 8 ) to define NO Textborder A Bug ( wrong path .\image\brush ) for the Textbrush is fixed. Tomorrow, I will add a Download-Link for the Update. http://www.pflegeplus.com/pictures/VUpd10.jpg ...
Thank You very much for the Link. I'm not sure, if it makes sense, to include a variable- or use a defined value. I will change it and look whats happens.