Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - How to get the handle of a dialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to get the handle of a dialog

 Post Reply Post Reply
Author
Message
zjroland View Drop Down
Groupie
Groupie


Joined: 09 December 2006
Status: Offline
Points: 42
Post Options Post Options   Thanks (0) Thanks(0)   Quote zjroland Quote  Post ReplyReply Direct Link To This Post Topic: How to get the handle of a dialog
    Posted: 09 December 2006 at 4:27am
I have a CXTPTabControl control include 2 tabs, each tab have a dialog inside it:
 
CXTPTabControl m_tabMyTabCtrl;
m_tabMyTabCtrl.Create(WS_CHILD|WS_VISIBLE|WS_CLIPCHILDREN|WS_CLIPSIBLINGS,rect,this,IDC_MY_TAB);
 m_tabMyTabCtrl.InsertItem(0, _T(" Soft "), handle of dialog1, 0);
 m_tabMyTabCtrl.InsertItem(1, _T(" Hard "), handle of dialog2, 0);
 
but I don't know how to get the handle of the dialogs, can anybody help me?
 

 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.