Click here to Skip to main content
16,016,795 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Drawing transparent bitmap ... Pin
Hadi Rezaee6-May-02 9:17
Hadi Rezaee6-May-02 9:17 
GeneralException handling under XP Pin
Parish6-May-02 8:04
Parish6-May-02 8:04 
GeneralRe: Exception handling under XP Pin
Matt Gullett6-May-02 10:13
Matt Gullett6-May-02 10:13 
GeneralRe: Exception handling under XP Pin
Parish8-May-02 5:27
Parish8-May-02 5:27 
GeneralMultiple Dialogs Pin
tordyvel6-May-02 7:33
tordyvel6-May-02 7:33 
GeneralRe: Multiple Dialogs Pin
KingsGambit6-May-02 7:53
KingsGambit6-May-02 7:53 
GeneralRe: Multiple Dialogs Pin
Paul M Watt6-May-02 8:01
mentorPaul M Watt6-May-02 8:01 
GeneralRe: Multiple Dialogs Pin
Tom Archer6-May-02 12:40
Tom Archer6-May-02 12:40 
You need to be more specific on some issues:

tordyvel wrote:
Where should you put initialization code for a new dialog in my program?

That depends entirely on the data and when it's being used.


tordyvel wrote:
The classwizard wont make any OnInitDialog().

What do you mean by this? In Visual C++ .NET, any dialog's created from a dialog template do not by default have OnInitDialog handlers. Is this what you mean? If that is the case, you can add the handler from the dialog class' Properties dialog. If not, you need to let us know what you mean when you say that the Class Wizard "wont make any OnInitDialog".


tordyvel wrote:
I tried to put it in the constructur and even in the WM_CREATE function, but it crashes the program. help

How exactly does it "crash". GPF? ASSERT? We need more details if someone is going to be able to help you.




Cheers,
Tom Archer
Author - Inside C#, Visual C++.NET Bible

A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the af
GeneralPresentation question Pin
HenrikO6-May-02 7:03
HenrikO6-May-02 7:03 
GeneralRe: Presentation question Pin
Rama Krishna Vavilala6-May-02 7:09
Rama Krishna Vavilala6-May-02 7:09 
GeneralUsing MFC on Windows XP Pin
6-May-02 6:55
suss6-May-02 6:55 
GeneralRe: Using MFC on Windows XP Pin
Andrew Peace6-May-02 11:09
Andrew Peace6-May-02 11:09 
GeneralRe: Using MFC on Windows XP Pin
7-May-02 4:22
suss7-May-02 4:22 
QuestionOpen a MSWord app into my window ? Pin
6-May-02 6:48
suss6-May-02 6:48 
AnswerRe: Open a MSWord app into my window ? Pin
6-May-02 6:49
suss6-May-02 6:49 
AnswerRe: Open a MSWord app into my window ? Pin
6-May-02 6:50
suss6-May-02 6:50 
AnswerRe: Open a MSWord app into my window ? Pin
KingsGambit6-May-02 8:01
KingsGambit6-May-02 8:01 
GeneralWhen i press my checkbox, no check appears... Pin
6-May-02 6:43
suss6-May-02 6:43 
GeneralRe: When i press my checkbox, no check appears... Pin
Tim Smith6-May-02 6:50
Tim Smith6-May-02 6:50 
GeneralRe: When i press my checkbox, no check appears... Pin
6-May-02 6:59
suss6-May-02 6:59 
GeneralOne more Q :=) How do i check the box myself? Pin
6-May-02 7:05
suss6-May-02 7:05 
GeneralRe: One more Q :=) How do i check the box myself? Pin
Tim Smith6-May-02 7:48
Tim Smith6-May-02 7:48 
GeneralThankyou Pin
6-May-02 8:03
suss6-May-02 8:03 
GeneralMCSD question Pin
6-May-02 5:24
suss6-May-02 5:24 
GeneralSwitch views in SDI using MFC extention DLL Classes Pin
Dave Loeser6-May-02 5:19
Dave Loeser6-May-02 5:19 

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.