Click here to Skip to main content
15,885,856 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CStatic Control Pin
namaskaaram24-Nov-04 20:42
namaskaaram24-Nov-04 20:42 
GeneralCStatic Control Pin
shijuck24-Nov-04 2:59
shijuck24-Nov-04 2:59 
GeneralMedia Player 10 ActiveX Problem Pin
X204024-Nov-04 2:51
X204024-Nov-04 2:51 
GeneralC++ Help Pin
BRIMID24-Nov-04 1:37
BRIMID24-Nov-04 1:37 
GeneralRe: C++ Help Pin
Mike Danberg24-Nov-04 11:18
Mike Danberg24-Nov-04 11:18 
GeneralRe: C++ Help Pin
RYU^^24-Nov-04 13:48
RYU^^24-Nov-04 13:48 
Generalsmall doubt Pin
Tripura.K24-Nov-04 1:36
Tripura.K24-Nov-04 1:36 
GeneralRe: small doubt Pin
John R. Shaw24-Nov-04 3:56
John R. Shaw24-Nov-04 3:56 
Tripura.K wrote:
CTrailView *pView = (CTrailView *)((CMainFrame*)GetParent())->GetActiveView();

Eek! | :eek: What is this? It is a guess based on the knowlege that only a certain view type will be a parent to this dialog.

It also suggest.........(never mind)
// makes no since
MyDialog::MyDialog(CWnd* pParent,CWnd* pView)
: CDialog(MyDialog::IDD, pParent)
{
    //pView =(CTrailView *)((CMainFrame*)GetParent())->GetActiveView();
}

// This assumes it is a modal dialog and the view does not change,
MyDialog::MyDialog(CWnd* pParent,CWnd* pView)
: CDialog(MyDialog::IDD, pParent)
{
    m_pView = pView;
}


Simplify... all the function do the same thing.
void MyDialog::MyButton(TCHAR ch) 
{
    // ... write code here one time
}

void MyDialog::OnButton56()
{
    MyButton(56);
}

void MyDialog::OnButton57()
{
    MyButton(57);
}


INTP
GeneralWM_SHUTDOWN Notification to a dll Pin
AssemblySoft24-Nov-04 0:42
AssemblySoft24-Nov-04 0:42 
GeneralRe: WM_SHUTDOWN Notification to a dll Pin
ThatsAlok24-Nov-04 0:54
ThatsAlok24-Nov-04 0:54 
GeneralRe: WM_SHUTDOWN Notification to a dll Pin
AssemblySoft24-Nov-04 1:34
AssemblySoft24-Nov-04 1:34 
GeneralRe: WM_SHUTDOWN Notification to a dll Pin
Antony M Kancidrowski24-Nov-04 3:55
Antony M Kancidrowski24-Nov-04 3:55 
GeneralRe: WM_SHUTDOWN Notification to a dll Pin
AssemblySoft24-Nov-04 5:52
AssemblySoft24-Nov-04 5:52 
GeneralRe: WM_SHUTDOWN Notification to a dll Pin
Antony M Kancidrowski24-Nov-04 6:03
Antony M Kancidrowski24-Nov-04 6:03 
GeneralRe: WM_SHUTDOWN Notification to a dll Pin
AssemblySoft24-Nov-04 23:08
AssemblySoft24-Nov-04 23:08 
GeneralRe: WM_SHUTDOWN Notification to a dll Pin
ThatsAlok24-Nov-04 17:18
ThatsAlok24-Nov-04 17:18 
GeneralRe: WM_SHUTDOWN Notification to a dll Pin
AssemblySoft24-Nov-04 23:06
AssemblySoft24-Nov-04 23:06 
GeneralChanging font in treeview control Pin
Alpha Siera24-Nov-04 0:29
Alpha Siera24-Nov-04 0:29 
GeneralRe: Changing font in treeview control Pin
Jack Puppy24-Nov-04 0:54
Jack Puppy24-Nov-04 0:54 
GeneralMultiple row selection MSFlexGrid Pin
balajeedurai23-Nov-04 23:37
balajeedurai23-Nov-04 23:37 
Generalhelp....... Pin
namaskaaram23-Nov-04 23:13
namaskaaram23-Nov-04 23:13 
GeneralRe: help....... Pin
Jack Puppy24-Nov-04 0:45
Jack Puppy24-Nov-04 0:45 
GeneralRe: help....... Pin
namaskaaram24-Nov-04 16:57
namaskaaram24-Nov-04 16:57 
General#defining correct constant Pin
GDavy23-Nov-04 23:07
GDavy23-Nov-04 23:07 
QuestionCString to a int? Pin
Larsson23-Nov-04 22:55
Larsson23-Nov-04 22:55 

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.