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

C / C++ / MFC

 
GeneralRe: adding menu items Pin
Anonymous14-Aug-05 12:05
Anonymous14-Aug-05 12:05 
QuestionWhen is an HWND invalid? Pin
Maverick13-Aug-05 17:25
Maverick13-Aug-05 17:25 
AnswerRe: When is an HWND invalid? Pin
John R. Shaw13-Aug-05 18:19
John R. Shaw13-Aug-05 18:19 
GeneralRe: When is an HWND invalid? Pin
Maverick14-Aug-05 1:32
Maverick14-Aug-05 1:32 
GeneralRe: When is an HWND invalid? Pin
Tim Smith14-Aug-05 4:19
Tim Smith14-Aug-05 4:19 
GeneralRe: When is an HWND invalid? Pin
Maverick14-Aug-05 20:49
Maverick14-Aug-05 20:49 
GeneralRe: When is an HWND invalid? Pin
HumanOsc14-Aug-05 23:36
HumanOsc14-Aug-05 23:36 
GeneralRe: When is an HWND invalid? Pin
Maverick15-Aug-05 18:53
Maverick15-Aug-05 18:53 
Hi All!!!

hehe.. you know what, i found out the problem of my HWND being invalid... it turns out Im looking into a different CMainFrame pointer that holds the control bar that holds the CEdit.. I have implemented 2 Doc/View architectures in my program.. So I have 2 frames, 1 Mainframe and 1 Framewnd(inside another control bar)... It turns out i cast the Framewnd which has no CEdit variable, to CMainFrame.. So im looking in the framewnd which has no CEdit at all, not created.. So that solves my problem, I just got the pointer to the actual CMainframe which has the CEdit...

tnx for the replies!! Big Grin | :-D

Maverick



"you can be my wingman anytime.."
QuestionWould u please give me some advice about dynamic curve display? Pin
sssmmmyyy13-Aug-05 16:41
sssmmmyyy13-Aug-05 16:41 
AnswerRe: Would u please give me some advice about dynamic curve display? Pin
John R. Shaw13-Aug-05 18:33
John R. Shaw13-Aug-05 18:33 
GeneralDate Time object for win 32 dll Pin
Laser113-Aug-05 13:29
Laser113-Aug-05 13:29 
GeneralRe: Date Time object for win 32 dll Pin
Laser113-Aug-05 13:32
Laser113-Aug-05 13:32 
GeneralRe: Date Time object for win 32 dll Pin
Ravi Bhavnani13-Aug-05 15:54
professionalRavi Bhavnani13-Aug-05 15:54 
GeneralRe: Date Time object for win 32 dll Pin
Saurabh.Garg13-Aug-05 15:58
Saurabh.Garg13-Aug-05 15:58 
GeneralRe: Date Time object for win 32 dll Pin
David Crow15-Aug-05 3:36
David Crow15-Aug-05 3:36 
GeneralLaunching another app from C++ program Pin
Laser113-Aug-05 13:21
Laser113-Aug-05 13:21 
GeneralRe: Launching another app from C++ program Pin
David Crow13-Aug-05 15:57
David Crow13-Aug-05 15:57 
GeneralText color from background color Pin
Ravi Bhavnani13-Aug-05 12:05
professionalRavi Bhavnani13-Aug-05 12:05 
GeneralRe: Text color from background color Pin
cpprules13-Aug-05 12:39
cpprules13-Aug-05 12:39 
GeneralRe: Text color from background color Pin
Ravi Bhavnani14-Aug-05 5:04
professionalRavi Bhavnani14-Aug-05 5:04 
GeneralRe: Text color from background color Pin
John R. Shaw13-Aug-05 18:40
John R. Shaw13-Aug-05 18:40 
GeneralRe: Text color from background color Pin
Ravi Bhavnani14-Aug-05 5:04
professionalRavi Bhavnani14-Aug-05 5:04 
GeneralSolution Pin
Ravi Bhavnani14-Aug-05 5:02
professionalRavi Bhavnani14-Aug-05 5:02 
GeneralRe: Solution Pin
Jack Puppy14-Aug-05 10:39
Jack Puppy14-Aug-05 10:39 
GeneralRe: Solution Pin
Ravi Bhavnani15-Aug-05 1:54
professionalRavi Bhavnani15-Aug-05 1:54 

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.