Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

CtrlSelectText should select text control?


1 reply to this topic

GreenLight

GreenLight
  • Members
  • 5 posts

Posted 11 June 2003 - 17:15

I am calling CtrlSelectText() in a DLG_INIT event for my custom dialog box, but the text box that I am setting is not becoming the active control in the window. Is there a way to make this work?

Jochen

Jochen
  • Members
  • 40 posts

Posted 12 June 2003 - 08:54

Hi GreenLight,

if I understand right, you are trying to set the focus on the text box?

_WinSubFocusWindow(ctl);
or SetFocus(ctl);

should help.

If not please specify the problem.

Hope it helps.

Jochen