Print Page | Close Window

How to get the handle of a dialog

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=5733
Printed Date: 30 November 2024 at 7:49am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: How to get the handle of a dialog
Posted By: zjroland
Subject: How to get the handle of a dialog
Date 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?
 

 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net