Click here to Skip to main content
15,902,636 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: function time Pin
John M. Drescher24-Aug-06 11:17
John M. Drescher24-Aug-06 11:17 
GeneralRe: function time Pin
Julberto Danray24-Aug-06 12:49
Julberto Danray24-Aug-06 12:49 
AnswerRe: function time Pin
ThatsAlok24-Aug-06 18:14
ThatsAlok24-Aug-06 18:14 
GeneralRe: function time Pin
afpr25-Aug-06 1:09
afpr25-Aug-06 1:09 
QuestionDialogBox of win32 dll Pin
Manjunath S24-Aug-06 8:51
Manjunath S24-Aug-06 8:51 
AnswerRe: DialogBox of win32 dll Pin
prasad_som24-Aug-06 22:15
prasad_som24-Aug-06 22:15 
GeneralRe: DialogBox of win32 dll Pin
Manjunath S24-Aug-06 23:21
Manjunath S24-Aug-06 23:21 
GeneralRe: DialogBox of win32 dll Pin
prasad_som24-Aug-06 23:32
prasad_som24-Aug-06 23:32 
GeneralRe: DialogBox of win32 dll Pin
Manjunath S25-Aug-06 0:14
Manjunath S25-Aug-06 0:14 
GeneralRe: DialogBox of win32 dll Pin
prasad_som25-Aug-06 1:46
prasad_som25-Aug-06 1:46 
GeneralRe: DialogBox of win32 dll Pin
Manjunath S25-Aug-06 3:02
Manjunath S25-Aug-06 3:02 
GeneralRe: DialogBox of win32 dll Pin
prasad_som25-Aug-06 3:08
prasad_som25-Aug-06 3:08 
QuestionDefault edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 8:17
lctrncs24-Aug-06 8:17 
AnswerRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
David Crow24-Aug-06 9:14
David Crow24-Aug-06 9:14 
AnswerRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. [modified] Pin
Justin Tay24-Aug-06 9:17
Justin Tay24-Aug-06 9:17 
lctrncs wrote:
when the user tabs to either edit control, existing text in the control is selected


This is the default behaviour of the dialog manager. If this is undesirable you should tell the dialog manager, by subclassing the edit control and handling WM_GETDLGCODE[^] to not return the DLGC_HASSETSEL flag (call the base class procedure and mask it out ie. & ~DLGC_HASSETSEL).

lctrncs wrote:
using EN_SETFOCUS (after changing the on_notify to on_en_setfocus in the message map),


How did you go about doing this? Using the IDE or manual edits to the message map? EN_SETFOCUS is sent through a WM_COMMAND message, and not a WM_NOTIFY message. The member function signature for both are different. Not sure if this is the problem though as I think the compiler should complain if you made a mistake.

Edit: Link regarding WM_GETDLGCODE http://blogs.msdn.com/oldnewthing/archive/2003/11/14/55678.aspx[^]


-- modified at 15:19 Thursday 24th August, 2006
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 14:32
lctrncs24-Aug-06 14:32 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
Justin Tay24-Aug-06 15:30
Justin Tay24-Aug-06 15:30 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 15:33
lctrncs24-Aug-06 15:33 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
Justin Tay24-Aug-06 15:47
Justin Tay24-Aug-06 15:47 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs24-Aug-06 21:21
lctrncs24-Aug-06 21:21 
GeneralRe: Default edit/richeditctrl text selection allows easy delete after tab key to control. Pin
lctrncs25-Aug-06 3:55
lctrncs25-Aug-06 3:55 
QuestionApp Icon not showing correctly on desktop Pin
$motty24-Aug-06 8:05
$motty24-Aug-06 8:05 
AnswerRe: App Icon not showing correctly on desktop Pin
Waldermort24-Aug-06 8:34
Waldermort24-Aug-06 8:34 
GeneralRe: App Icon not showing correctly on desktop Pin
$motty24-Aug-06 12:04
$motty24-Aug-06 12:04 
GeneralRe: App Icon not showing correctly on desktop Pin
Waldermort24-Aug-06 14:37
Waldermort24-Aug-06 14:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.