News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

AppModal & Focus Rect.

Started by Dark Schneider, April 18, 2005, 05:45:28 AM

Previous topic - Next topic

Dark Schneider

Would you please tell me how to eliminate 'Focus' rectangle that appears when user click on buttons, checkboxes, etc.
And how to create 'AppModal' windows? I have a window (WNDCLASSEX) created on a dialog box and when move mouse
cursor off it onto its parent dialog box I can click on its child windows! please help me on this one...

I always have problems with GUI coding...

Mark Jones

 I've found an easy way of eliminating the focus rectangles from buttons - just use the EasyCode IDE, which can be found at http://www.masmforum.com/simple/index.php?board=28.0 - it has a simple checkbox in the visual editor to disable control focus. Only problem is that disabling focus makes the program very difficult to use without a mouse.

I am not sure about the appmodal windows and WINDCLASSEX. Haven't gotten that far myself yet. :)
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

pbrennick

Dark Schneider,
Use DS_MODALFRAME to make a MODAL dialog box, it is in win32.hlp.

Hope this helps,
Paul