Textbox Select
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
Hi, How can i give a textbox focus and immidiately select it's text so wenn the user begin's to typ he will overwrite the previous text without deleting it first... greetz willem
-
Hi, How can i give a textbox focus and immidiately select it's text so wenn the user begin's to typ he will overwrite the previous text without deleting it first... greetz willem
Handle the
EN_SETFOCUS
message yourself and do this in theEN_SETFOCUS
handler:m_cEditCtrl.SetSel(0, -1, FALSE);
Hope that helps :-D Dominik
_outp(0x64, 0xAD);
and__asm mov al, 0xAD __asm out 0x64, al
do the same... but what do they do?? ;) (doesn't work on NT)