Click here to Skip to main content
15,894,460 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionhow to simulate an animal's random movement Pin
wangnanjing4-Oct-02 5:10
wangnanjing4-Oct-02 5:10 
AnswerRe: how to simulate an animal's random movement Pin
Scott H. Settlemier4-Oct-02 5:20
Scott H. Settlemier4-Oct-02 5:20 
GeneralRe: how to simulate an animal's random movement Pin
wangnanjing4-Oct-02 5:19
wangnanjing4-Oct-02 5:19 
GeneralRe: how to simulate an animal's random movement Pin
Scott H. Settlemier4-Oct-02 5:43
Scott H. Settlemier4-Oct-02 5:43 
AnswerRe: how to simulate an animal's random movement Pin
Andreas Saurwein4-Oct-02 5:30
Andreas Saurwein4-Oct-02 5:30 
GeneralCDialogBar Pin
lucy4-Oct-02 5:05
lucy4-Oct-02 5:05 
GeneralRe: CDialogBar Pin
Tomasz Sowinski4-Oct-02 5:16
Tomasz Sowinski4-Oct-02 5:16 
GeneralRe: CDialogBar Pin
lucy4-Oct-02 5:36
lucy4-Oct-02 5:36 
For example, I have an edit box in my dialog bar. Some time ago, I have created an edit class which will allow the edit box to accept numbers only.

Now, I want to subclass the CEdit using my CNumEdit.

When the edit box is in a dialog, I do this in OnInitDialog(). Which is what classwizard will point me to. But instead, I should do it in Create() since CDialogBar don't have OnInitDialog().

Maybe I should use the "Class Info" tab of the class Wizard to select "Window" message only, since I know CDialogBar is not dialog, but a CWnd instead.
GeneralRe: CDialogBar Pin
Tomasz Sowinski4-Oct-02 5:48
Tomasz Sowinski4-Oct-02 5:48 
GeneralRe: CDialogBar Pin
lucy4-Oct-02 5:46
lucy4-Oct-02 5:46 
GeneralRe: CDialogBar Pin
Tomasz Sowinski4-Oct-02 5:59
Tomasz Sowinski4-Oct-02 5:59 
GeneralRe: CDialogBar Pin
lucy4-Oct-02 5:57
lucy4-Oct-02 5:57 
GeneralRe: CDialogBar Pin
Tomasz Sowinski4-Oct-02 6:20
Tomasz Sowinski4-Oct-02 6:20 
GeneralRe: CDialogBar Pin
lucy4-Oct-02 6:17
lucy4-Oct-02 6:17 
GeneralIDL Question Pin
Ryan B.4-Oct-02 5:02
Ryan B.4-Oct-02 5:02 
QuestionWhat do you put in stdafx.h ? Pin
Maximilien4-Oct-02 4:58
Maximilien4-Oct-02 4:58 
AnswerRe: What do you put in stdafx.h ? Pin
Tomasz Sowinski4-Oct-02 5:02
Tomasz Sowinski4-Oct-02 5:02 
AnswerRe: What do you put in stdafx.h ? Pin
Daniel Turini4-Oct-02 4:59
Daniel Turini4-Oct-02 4:59 
AnswerRe: What do you put in stdafx.h ? Pin
Michael P Butler4-Oct-02 5:03
Michael P Butler4-Oct-02 5:03 
Generalrecognize classes Pin
Zizilamoroso4-Oct-02 4:17
Zizilamoroso4-Oct-02 4:17 
GeneralRe: recognize classes Pin
Daniel Turini4-Oct-02 4:26
Daniel Turini4-Oct-02 4:26 
GeneralQuery Com Ports. Pin
Anthony98874-Oct-02 3:47
Anthony98874-Oct-02 3:47 
GeneralRe: Query Com Ports. Pin
Scott H. Settlemier4-Oct-02 4:20
Scott H. Settlemier4-Oct-02 4:20 
GeneralHWND list Pin
The_Server4-Oct-02 2:23
The_Server4-Oct-02 2:23 
GeneralRe: HWND list Pin
Tomasz Sowinski4-Oct-02 3:04
Tomasz Sowinski4-Oct-02 3:04 

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.