News:

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

code problems

Started by rodderswank, October 25, 2005, 05:30:07 AM

Previous topic - Next topic

rodderswank

..

hitchhikr

Use DS_CENTER in the dialog's properties.
I think you must set the return value of WM_INITDIALOG to FALSE to avoid the system to set the keyboard focus.
Use WM_CTLCOLORDLG to change the background color.
And WM_CTLCOLOREDIT to change the editbox color.

rodderswank

Quote from: hitchhikr on October 25, 2005, 12:08:20 PM
Use DS_CENTER in the dialog's properties.
I think you must set the return value of WM_INITDIALOG to FALSE to avoid the system to set the keyboard focus.
Use WM_CTLCOLORDLG to change the background color.
And WM_CTLCOLOREDIT to change the editbox color.

thanks ive manages to center any ok im not too sure still though how i would implement what you said to change the text and bg colour. I also still have no idea idea why the test is still highlighted. Also how could i striop the caption bar and the border off the dlg?

rags

Quote from: rodderswank on October 25, 2005, 03:02:05 PM
. I also still have no idea idea why the test is still highlighted. Also how could i striop the caption bar and the border off the dlg?

HI Rodderswank, welcome to the board.
I had the same problem as you with the text. I resolved the issue by changing the tabstop order on the dialog, so that the edit control was not the first stop.
Also, try using the 'Search" at the top of the page.
I know alot of people, including myself,  sometimes forget to use it before posting a question.
You might find what you need there.
regards,
Rags
God made Man, but the monkey applied the glue -DEVO