Click here to Skip to main content
16,007,932 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRichTextBox- How to display last line entered. Pin
Freddie Code16-Jul-05 13:30
Freddie Code16-Jul-05 13:30 
GeneralRe: RichTextBox- How to display last line entered. Pin
bneacetp16-Jul-05 15:25
bneacetp16-Jul-05 15:25 
GeneralRe: RichTextBox- How to display last line entered. Pin
Freddie Code17-Jul-05 3:16
Freddie Code17-Jul-05 3:16 
GeneralRe: RichTextBox- How to display last line entered. Pin
Freddie Code17-Jul-05 5:01
Freddie Code17-Jul-05 5:01 
GeneralRe: RichTextBox- How to display last line entered. Pin
Trollslayer17-Jul-05 6:07
mentorTrollslayer17-Jul-05 6:07 
GeneralRe: RichTextBox- How to display last line entered. Pin
Freddie Code17-Jul-05 6:33
Freddie Code17-Jul-05 6:33 
GeneralRe: RichTextBox- How to display last line entered. Pin
Trollslayer17-Jul-05 8:25
mentorTrollslayer17-Jul-05 8:25 
GeneralRe: RichTextBox- How to display last line entered. Pin
Jose Lamas Rios17-Jul-05 17:15
Jose Lamas Rios17-Jul-05 17:15 
Freddie Code wrote:
However, it still would be nice to know the "right" way to do this. ie, how to make the Wizard recognize custom class types without using the back-door approach.

I'm not sure if it's possible to make the Wizard recognize those classes, but what you did is right anyway. Just to clarify, both of the following options will work:

1 - You manually declare new variable members in your dialog class and then manually subclass the windows in OnInitDialog().
2 - You add a variable member through the wizard, which also adds the subclassing in DoDataExchange(), which is called through CDialog::OnInitDialog(), and then manually change the class of the control in your dialog class declaration.

The latter is easier, of course Smile | :)

--
jlr
http://jlamas.blogspot.com/[^]
GeneralVideo capture boards Pin
fmn16-Jul-05 10:52
fmn16-Jul-05 10:52 
GeneralRe: Video capture boards Pin
Alex_Y16-Jul-05 14:36
Alex_Y16-Jul-05 14:36 
General<h2>somebody tell me how to setup data source</h2> Pin
c+-16-Jul-05 9:38
c+-16-Jul-05 9:38 
GeneralRe: <h2>somebody tell me how to setup data source</h2> Pin
Tim Smith16-Jul-05 10:36
Tim Smith16-Jul-05 10:36 
GeneralRe: <h2>somebody tell me how to setup data source</h2> Pin
c+-17-Jul-05 1:04
c+-17-Jul-05 1:04 
GeneralRe: <h2>somebody tell me how to setup data source</h2> Pin
David Crow16-Jul-05 10:50
David Crow16-Jul-05 10:50 
GeneralRe: <h2>somebody tell me how to setup data source</h2> Pin
c+-17-Jul-05 1:07
c+-17-Jul-05 1:07 
GeneralRe: <h2>somebody tell me how to setup data source</h2> Pin
David Crow17-Jul-05 12:12
David Crow17-Jul-05 12:12 
GeneralAudio Frequency Output Pin
joy00716-Jul-05 9:25
joy00716-Jul-05 9:25 
GeneralRe: Audio Frequency Output Pin
Alex_Y16-Jul-05 14:38
Alex_Y16-Jul-05 14:38 
Question.Net CookieContainer for Web service client for unmanaged C++? Pin
CherezZaboro16-Jul-05 9:04
CherezZaboro16-Jul-05 9:04 
Generalwhy do the windows hook genraly put in dll Pin
anuju16-Jul-05 8:41
anuju16-Jul-05 8:41 
GeneralRe: why do the windows hook genraly put in dll Pin
Blake Miller18-Jul-05 4:49
Blake Miller18-Jul-05 4:49 
Questionwhere can i find the instruction of crystal report9 RDC in vc6.0? Pin
liuyue16-Jul-05 6:48
liuyue16-Jul-05 6:48 
GeneralSimple question but i don't know the answer Pin
Usman Tasleem Akshaf16-Jul-05 6:35
Usman Tasleem Akshaf16-Jul-05 6:35 
GeneralRe: Simple question but i don't know the answer Pin
Neelesh K J Jain16-Jul-05 8:33
Neelesh K J Jain16-Jul-05 8:33 
Questioncan i play the same sound file on two different sound card at the same time Pin
max_xiayi16-Jul-05 3:57
max_xiayi16-Jul-05 3:57 

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.