Click here to Skip to main content
16,009,068 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Resource for resources Pin
Aaron Schaefer9-Jan-03 12:35
Aaron Schaefer9-Jan-03 12:35 
GeneralSplash Screen, title and icon Pin
MemLeak9-Jan-03 10:59
MemLeak9-Jan-03 10:59 
GeneralRe: Splash Screen, title and icon Pin
super9-Jan-03 19:12
professionalsuper9-Jan-03 19:12 
QuestionMemory problems? or not? Pin
jimNLX9-Jan-03 10:30
jimNLX9-Jan-03 10:30 
AnswerRe: Memory problems? or not? Pin
Alvaro Mendez9-Jan-03 10:59
Alvaro Mendez9-Jan-03 10:59 
GeneralCall an executable Pin
sumod9-Jan-03 9:30
sumod9-Jan-03 9:30 
GeneralRe: Call an executable Pin
Alvaro Mendez9-Jan-03 9:40
Alvaro Mendez9-Jan-03 9:40 
Generali Still in Trouble! plz Help me to release Pin
Alex H 19839-Jan-03 8:59
Alex H 19839-Jan-03 8:59 
I think My problem is So Basic. WTF | :WTF:
i explain my problem again!

i have a SDI MFC project. i define an Modless Dialog Box and Show it beside the Main Document Window.i define it in CDemoView (My Main Class of Project) i can Set properties of that Dialog's Controls for Example i can Set the Caption of a Static-Text object that Exists in that Dialog Box.

So my problem is i Still Can't Capture Events of that Dialog Box Buttons.
for example if i Click a Button in that Dialog i can't Send_Message to CDemoView or Call a Function of CDemoView.

if i add an Event handler of that Button in CDemoView it will don't respond.i should add Event Handler only in that Dialog Class to respond. (i donno Why Event Handler Shows another Classes when i choose event handler for that Button . becouse only Dialog Class Responds to Events)

my another Quiestion:
i know that i can Define an Object of Current CMainFrame Class's object:
CMainFrame* pFrame = STATIC_DOWNCAST(CMainFrame, AfxGetMainWnd());<br />
  pFrame->HidePalette();


how can i Define an Object of CDemoView Class Like this. in this code if i change CMainFrame to CDemoView an Error Occurs : Debug Assertion Failed. Mad | :mad:

thanks Anyway,
GeneralRe: i Still in Trouble! plz Help me to release Pin
l a u r e n9-Jan-03 9:06
l a u r e n9-Jan-03 9:06 
GeneralRe: i Still in Trouble! plz Help me to release Pin
Alex H 19839-Jan-03 9:28
Alex H 19839-Jan-03 9:28 
GeneralRe: i Still in Trouble! plz Help me to release Pin
l a u r e n9-Jan-03 9:36
l a u r e n9-Jan-03 9:36 
GeneralRe: i Still in Trouble! plz Help me to release Pin
l a u r e n9-Jan-03 9:41
l a u r e n9-Jan-03 9:41 
GeneralRe: i Still in Trouble! plz Help me to release Pin
Alex H 19839-Jan-03 9:52
Alex H 19839-Jan-03 9:52 
GeneralRe: i Still in Trouble! plz Help me to release Pin
l a u r e n9-Jan-03 9:56
l a u r e n9-Jan-03 9:56 
GeneralShame on me !!! it's not worked yet !! Pin
Alex H 19839-Jan-03 10:05
Alex H 19839-Jan-03 10:05 
GeneralRe: Shame on me !!! it's not worked yet !! Pin
l a u r e n9-Jan-03 10:20
l a u r e n9-Jan-03 10:20 
GeneralRe: Shame on me !!! it's not worked yet !! Pin
uandrej9-Jan-03 10:44
uandrej9-Jan-03 10:44 
GeneralRe: Shame on me !!! it's not worked yet !! Pin
Alex H 19839-Jan-03 19:36
Alex H 19839-Jan-03 19:36 
GeneralRe: Shame on me !!! it's not worked yet !! Pin
9-Jan-03 21:33
suss9-Jan-03 21:33 
GeneralRe: Shame on me !!! it's not worked yet !! Pin
KaЯl10-Jan-03 0:13
KaЯl10-Jan-03 0:13 
GeneralAp Pin
KaЯl10-Jan-03 0:22
KaЯl10-Jan-03 0:22 
GeneralRe: Ap Pin
Alex H 198310-Jan-03 1:32
Alex H 198310-Jan-03 1:32 
GeneralRe: Ap Pin
KaЯl10-Jan-03 1:47
KaЯl10-Jan-03 1:47 
GeneralRe: Ap Pin
Alex H 198310-Jan-03 8:01
Alex H 198310-Jan-03 8:01 
GeneralRe: i Still in Trouble! plz Help me to release Pin
KaЯl10-Jan-03 0:11
KaЯl10-Jan-03 0:11 

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.