Click here to Skip to main content
15,918,243 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ListCtrl and TreeCtrl Pin
Christian Graus20-Jul-05 11:50
protectorChristian Graus20-Jul-05 11:50 
QuestionHow can i use (dbf) FoxPro files with MFC Pin
vugar19-Jul-05 10:46
vugar19-Jul-05 10:46 
AnswerRe: How can i use (dbf) FoxPro files with MFC Pin
Graham Bradshaw19-Jul-05 13:03
Graham Bradshaw19-Jul-05 13:03 
GeneralVugar Avazov Pin
vugar19-Jul-05 10:22
vugar19-Jul-05 10:22 
GeneralPassing variables between dialogs Pin
Nick Usechak19-Jul-05 9:16
Nick Usechak19-Jul-05 9:16 
GeneralRe: Passing variables between dialogs Pin
Chris Losinger19-Jul-05 9:30
professionalChris Losinger19-Jul-05 9:30 
GeneralRe: Passing variables between dialogs Pin
Nick Usechak19-Jul-05 10:05
Nick Usechak19-Jul-05 10:05 
GeneralRe: Passing variables between dialogs Pin
Chris Losinger19-Jul-05 10:13
professionalChris Losinger19-Jul-05 10:13 
Nick Usechak wrote:
I added the OnInitDialog() function manually to the second dialog’s *.cpp and *.h files.

try removing them, them using the ClassWizard to add a handler for the "WM_INITDIALOG" message.

Nick Usechak wrote:
Also, when I tried adding a new member variable "ClassWizard" only allowed be to add a control?

that's probably because you had the OK or Cancel button selected on the control selector (there's really no way not to have one of them selected on a new dialog).

but, CW is most useful as a way to create and manage message handlers and member variables that are associated with controls. it would be better named "ClassMessageWizard" or something - it's not a generic C++ class handler. if you want to add a member variable to your class, just put it in the .H file for your dialog and either make it "public" or make it private and add public Get/Set functions to get and set the value (the latter is the preferred way, for OO reasons).


Cleek | Image Toolkits | Thumbnail maker

GeneralRe: Passing variables between dialogs Pin
Nick Usechak19-Jul-05 11:20
Nick Usechak19-Jul-05 11:20 
GeneralRe: Passing variables between dialogs Pin
Rick York19-Jul-05 18:09
mveRick York19-Jul-05 18:09 
Questionsystem() ? Pin
kevingpo19-Jul-05 7:39
kevingpo19-Jul-05 7:39 
AnswerRe: system() ? Pin
David Crow19-Jul-05 7:42
David Crow19-Jul-05 7:42 
AnswerRe: system() ? Pin
toxcct19-Jul-05 22:54
toxcct19-Jul-05 22:54 
Generallimiting cpu usage for a process Pin
mbulhoes19-Jul-05 6:42
mbulhoes19-Jul-05 6:42 
GeneralRe: limitting cpu usage for a process Pin
Graham Bradshaw19-Jul-05 12:34
Graham Bradshaw19-Jul-05 12:34 
GeneralRe: limitting cpu usage for a process Pin
sfeldi19-Jul-05 22:16
sfeldi19-Jul-05 22:16 
GeneralRe: limiting cpu usage for a process Pin
mbulhoes20-Jul-05 8:06
mbulhoes20-Jul-05 8:06 
QuestionHow to retrive users info from a Windows Server Pin
ivax19-Jul-05 5:43
ivax19-Jul-05 5:43 
AnswerRe: How to retrive users info from a Windows Server Pin
David Crow19-Jul-05 6:05
David Crow19-Jul-05 6:05 
GeneralRe: How to retrive users info from a Windows Server Pin
ivax19-Jul-05 6:13
ivax19-Jul-05 6:13 
GeneralRe: How to retrive users info from a Windows Server Pin
David Crow19-Jul-05 9:33
David Crow19-Jul-05 9:33 
GeneralRe: How to retrive users info from a Windows Server Pin
Graham Bradshaw19-Jul-05 12:37
Graham Bradshaw19-Jul-05 12:37 
GeneralNeed help with Worker Thread Code Pin
Freddie Code19-Jul-05 5:16
Freddie Code19-Jul-05 5:16 
GeneralRe: Need help with Worker Tread Code Pin
David Crow19-Jul-05 5:17
David Crow19-Jul-05 5:17 
GeneralRe: Need help with Worker Thread Code Pin
khan++19-Jul-05 20:49
khan++19-Jul-05 20:49 

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.