CONTEXTHELP
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Fri Apr 24, 2009 9:13 pm
by Otto
Can you add a question mark button to a WINDOW's caption bar and if yes how?
Thanks in advance
Otto
Re: CONTEXTHELP
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sat Apr 25, 2009 6:25 am
by Loach
Hello, Otto!
It has to be something like:
#define WS_EX_CONTEXTHELP 1024
#define GWL_EXSTYLE (-20)
SetWindowLong( oWnd:hWnd, GWL_EXSTYLE, nOr( GetWindowLong( oWnd:hWnd, GWL_EXSTYLE ), WS_EX_CONTEXTHELP ) )
But for me it's also doesn' work... I can't understand the reason...
Re: CONTEXTHELP
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
Posted:
Sun Apr 26, 2009 8:10 am
by Otto
Hello Sergey,
I found this topic in an non FW-forum:
http://codeguru.earthweb.com/forum/show ... hp?t=46721I know that for some reason, microsoft has decided that WS_EX_CONTEXTHELP (the question-mark
box) and WS_MINIMIZEBOX / WS_MAXIMIZEBOX aren't allowed to coexist in the same title bar.
This is by design.
Maybe it is not possible to have a „question-mark box” on a window.
Best regards,
Otto