Antonio Linares wrote:GWard,
I think it only works on dialogboxes adding this style to the dialogbox resource: EXSTYLE WS_EX_CAPTIONOKBTN
DEFINE WINDOW oWnd ...
nStyle = GetWindowLong( oWnd:hWnd, GWL_STYLE ) SetWindowLong( oWnd:hWnd, GWL_STYLE, nOr( nStyle, WS_EX_CAPTIONOKBTN ) )
Antonio Linares wrote:GWard,
I have not tried it myself, but maybe this may work:
- Code: Select all Expand view
DEFINE WINDOW oWnd ...
nStyle = GetWindowLong( oWnd:hWnd, GWL_STYLE ) SetWindowLong( oWnd:hWnd, GWL_STYLE, nOr( nStyle, WS_EX_CAPTIONOKBTN ) )
Antonio Linares wrote:GWard,
It looks as you may need to use a dialogbox to get the OK button on the caption. Maybe you could use pushbuttons at the bottom instead of a pulldown menu ?
Return to FiveWin for Pocket PC
Users browsing this forum: No registered users and 1 guest