Click here to Skip to main content
15,890,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCEdit :ModifyStyle Pin
baerten30-May-07 4:45
baerten30-May-07 4:45 
AnswerRe: CEdit :ModifyStyle Pin
Mark Salsbery30-May-07 5:33
Mark Salsbery30-May-07 5:33 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 0:59
baerten31-May-07 0:59 
GeneralRe: CEdit :ModifyStyle Pin
Rajkumar R31-May-07 1:46
Rajkumar R31-May-07 1:46 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 2:28
baerten31-May-07 2:28 
GeneralRe: CEdit :ModifyStyle Pin
Rajkumar R31-May-07 3:14
Rajkumar R31-May-07 3:14 
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 3:39
baerten31-May-07 3:39 
GeneralRe: CEdit :ModifyStyle Pin
Rajkumar R31-May-07 4:27
Rajkumar R31-May-07 4:27 
Hi,
The dialog child items are created at dialog creation.
DDX_Control will only subclass controls not creating the control.
subclassing will allow the messages to be routed to the
class we specified. but at that time the control will be created already, so you won't get oncreate or precreatewindow events for the control.

In my opinion, setting styles after DDX_Control doesnot "built views faster".
If you specify Styles in resource designer it would have assigned at creation.
But you are then interrupting the control while ModifyStyle which involves sendMessage like process.

I suggest you specify styles of controls in resource design and SetDecimal will do the initialisation of data excluding the style.

Best Regards
GeneralRe: CEdit :ModifyStyle Pin
baerten31-May-07 4:36
baerten31-May-07 4:36 
GeneralRe: CEdit :ModifyStyle Pin
Mark Salsbery31-May-07 5:32
Mark Salsbery31-May-07 5:32 
QuestionMicrosecond Timing Pin
LMCer30-May-07 4:27
LMCer30-May-07 4:27 
AnswerRe: Microsecond Timing Pin
Cedric Moonen30-May-07 4:30
Cedric Moonen30-May-07 4:30 
GeneralRe: Microsecond Timing Pin
LMCer30-May-07 4:34
LMCer30-May-07 4:34 
AnswerRe: Microsecond Timing Pin
CPallini30-May-07 4:41
mveCPallini30-May-07 4:41 
GeneralRe: Microsecond Timing Pin
LMCer30-May-07 4:49
LMCer30-May-07 4:49 
GeneralRe: Microsecond Timing Pin
CPallini30-May-07 5:01
mveCPallini30-May-07 5:01 
QuestionHow can I improve this Function Pin
joshp121730-May-07 4:08
joshp121730-May-07 4:08 
JokeRe: How can I improve this Function Pin
CPallini30-May-07 4:27
mveCPallini30-May-07 4:27 
GeneralRe: How can I improve this Function Pin
joshp121730-May-07 4:28
joshp121730-May-07 4:28 
GeneralRe: How can I improve this Function Pin
CPallini30-May-07 5:02
mveCPallini30-May-07 5:02 
GeneralRe: How can I improve this Function Pin
joshp121730-May-07 5:04
joshp121730-May-07 5:04 
GeneralRe: How can I improve this Function Pin
CPallini30-May-07 5:13
mveCPallini30-May-07 5:13 
GeneralRe: How can I improve this Function Pin
Chris Losinger30-May-07 7:35
professionalChris Losinger30-May-07 7:35 
AnswerRe: How can I improve this Function Pin
David Crow30-May-07 6:03
David Crow30-May-07 6:03 
AnswerRe: How can I improve this Function Pin
Michael Sadlon30-May-07 7:33
Michael Sadlon30-May-07 7:33 

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.