the btnbmp class takes the color of the text to create the internal box when it has focus Yes, for painting focusrect in case of FLAT style buttons. but it shouldn't be like this....the box must be dotted and not necessarily take the color from the color of the text, honestly maybe operationally ...
... This border indicates to the user which button has focus currently. You can avoid painting this border, by specifying the clauses "FLAT" along with "NOBORDER". In this case no FocusRect is drawn around the button in focus as a result, the user does not know which ...
... This border indicates to the user which button has focus currently. You can avoid painting this border, by specifying the clauses "FLAT" along with "NOBORDER". In this case no FocusRect is drawn around the button in focus as a result, the user does not know which ...
When these attributes are used, it doesn't work. I have done tests without them, then it works. There are so many ifs in the class that it would seem better to me to make a new one without all this legacy. Best regards, Otto
https://i.imgur.com/quHCEc0.png https://i.imgur.com/D9gWqWd.png i use xmate or hbmk2 in harbour. :-) for the msvc version of my app i use xmate. for example, this is the .hbp project HBMK2 for fwh+mingw+harbour -hbexe -oprestamos32g -workdir=obj\ -compr -info -inc -t...
@ 200, 20 BTNBMP oBtn PROMPT "Prompt" SIZE 100,40 PIXEL OF oDlg FLAT oBtn:nClrBorder := CLR_HRED Currently border color is working for FLAT style buttons only. Nages, at init run ok then If I wish change the border on line it not run ok I explain ...
Estimado José, En el fichero buildh32.bat actual de FWH se usan estos flags: cl.exe -nologo -c -O2 -W4 -wd4127 /I%hdir%\include %1.c en cuando a -d__FLAT__ sirve para declarar un "define" y asi poder reconocer desde el fichero RC que estamos en 32 bits. De la misma forma usamos -d__64__ pa...
Saludos a todos. Estoy usando Borland 7.40 como compilador y el editor el Fivedit, con el que no tengo problema, pero mi objetivo futuro seria pasarme a 64 bits. y ahi creo que la mejor opcion es el compilador de Microsoft , es por lo que estoy haciendo pruebas con la version de 32 bits que tengo de...