Hi All,
A couple of problems I'm having with a VERY simple DDT app. It consists of a single Edit control and this is what I'm trying to acheive.
Use the desktop back and fore colors in the edit control. I can set the colours manually Ok using SetBkColor etc, but am unsure how I translate %COLOR_DESKTOP to a color these API's understand?
There is only one control on the Dialog, but I can TAB off it... to where does focus go?
Lastly, when the Dialog/Edit control is first shown, it has all the text preselected. I've tried to turn this of with an EM_SETSEL wparam = -1, tried in initidialog, and WM_SETFOCUS, neither changed this autoselect behaviour. Can it be done?
Any suggestions most gratefully accepted
------------------
---
Regards, Tim, http://www.aquatee.com
A couple of problems I'm having with a VERY simple DDT app. It consists of a single Edit control and this is what I'm trying to acheive.
Use the desktop back and fore colors in the edit control. I can set the colours manually Ok using SetBkColor etc, but am unsure how I translate %COLOR_DESKTOP to a color these API's understand?
There is only one control on the Dialog, but I can TAB off it... to where does focus go?
Lastly, when the Dialog/Edit control is first shown, it has all the text preselected. I've tried to turn this of with an EM_SETSEL wparam = -1, tried in initidialog, and WM_SETFOCUS, neither changed this autoselect behaviour. Can it be done?
Any suggestions most gratefully accepted

------------------
---
Regards, Tim, http://www.aquatee.com
Comment