Click here to Skip to main content
16,005,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: mp3 info Pin
Alexander M.,6-May-05 3:34
Alexander M.,6-May-05 3:34 
GeneralPassing a string from a C++ DLL to VB Pin
JSadleir6-May-05 2:02
JSadleir6-May-05 2:02 
GeneralRe: Passing a string from a C++ DLL to VB Pin
Chris Meech6-May-05 2:23
Chris Meech6-May-05 2:23 
GeneralRe: Passing a string from a C++ DLL to VB Pin
JSadleir6-May-05 2:32
JSadleir6-May-05 2:32 
GeneralPacking Structures Pin
jerry1211a6-May-05 1:42
jerry1211a6-May-05 1:42 
GeneralRe: Packing Structures Pin
benjymous6-May-05 2:43
benjymous6-May-05 2:43 
GeneralRe: Packing Structures Pin
Gary R. Wheeler8-May-05 5:14
Gary R. Wheeler8-May-05 5:14 
GeneralCTabctrl and Cdialog communication not working Pin
razorme6-May-05 1:31
razorme6-May-05 1:31 
The project I code for is a cad software.. in which I have a dilog box dlgmain

--------------------------------------|
Dlgmain(title bar)----------------|
--------------------------------------|
-------\--------\---------------------|
TAB1-\TAB2-\--------------------|
---------\---------\------------------|
(*)radio1--------|------------------|
-------------------|-<-button1>---|
-------------------|------------------|
#<button1-->--|-----------------|
-------------------|------------------|
___________ |------------------|
-------------------------------------|
-------------------------------------|
% represents space (nothing ness)
Now I will explain the figure up there , the button1 with a # symbol before was in
the tab control , doing a specific functionality of looking up the constraints like radio button etc and get to the drawing in the window behind this dlg(obviosly i could not draw that), and do the operation and get back or complete.., now I have taken that button from there to the dlgmain control , which has shifted its class , now I want to shift the button 9 so that it is available for all tabs) and have the same functionality ,

Now the real problem is the code for #button1 is in Tab.cpp (tab class) , which is obviosly and afx_msg protected and non-static , so not accessible to any other class's member functions , so even if I create a public member function with that code and try to access that it gets accessed but does not do anything (and forget about what it used to do earlier)..

I tried to get the data which it is trying to execute and then use that data to execute new buton1 which is getting clumpsy and almost writing the entire tab functionalities into this class ,

if I use inheritance , both are derived from the same class CDialog,, so I don't know how to make it virtual and stuff , i tried and failed

so anyone can sort this out that would be really really great of you

If you think this post is not at all understandable (that is because of the company policy I cannot take screen shots and send ) ..

Thank you if you went through the whole thing
QuestionFlash Control.. How Use?? Pin
KonyangUni6-May-05 1:00
KonyangUni6-May-05 1:00 
Questionhow to know a number is in float type? Pin
paven6-May-05 0:40
paven6-May-05 0:40 
AnswerRe: how to know a number is in float type? Pin
toxcct6-May-05 0:47
toxcct6-May-05 0:47 
GeneralRe: how to know a number is in float type? Pin
Anonymous6-May-05 16:47
Anonymous6-May-05 16:47 
AnswerRe: how to know a number is in float type? Pin
Maximilien6-May-05 2:31
Maximilien6-May-05 2:31 
GeneralRe: how to know a number is in float type? Pin
toxcct8-May-05 20:07
toxcct8-May-05 20:07 
AnswerRe: how to know a number is in float type? Pin
Ansari A. Halim6-May-05 2:34
Ansari A. Halim6-May-05 2:34 
GeneralStrange problem... Pin
Krishnan V6-May-05 0:35
Krishnan V6-May-05 0:35 
GeneralRe: Strange problem... Pin
Dan_P6-May-05 1:25
Dan_P6-May-05 1:25 
GeneralMouse Movement Pin
Daniel Kanev5-May-05 23:58
Daniel Kanev5-May-05 23:58 
GeneralRe: Mouse Movement Pin
«_Superman_»6-May-05 2:09
professional«_Superman_»6-May-05 2:09 
QuestionHow to execute Stored procedure with OLE DB Consumer Pin
mikobi5-May-05 23:36
mikobi5-May-05 23:36 
GeneralAFXWIN1.INL assertion Pin
ikasovitch5-May-05 22:31
ikasovitch5-May-05 22:31 
GeneralRe: AFXWIN1.INL assertion Pin
David Crow6-May-05 3:52
David Crow6-May-05 3:52 
GeneralRe: AFXWIN1.INL assertion Pin
ikasovitch6-May-05 4:19
ikasovitch6-May-05 4:19 
GeneralRe: AFXWIN1.INL assertion Pin
David Crow6-May-05 4:40
David Crow6-May-05 4:40 
GeneralRe: AFXWIN1.INL assertion Pin
Anonymous6-May-05 20:23
Anonymous6-May-05 20:23 

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.