Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / Getting Dialog Item

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. Getting Dialog Item
#2889
Posted by: 2003-11-14 17:31:25
Hi,

how can i get a handle/pointer to a dialog item?

In windows you can do the following:

HWND hWndEdit = GetDlgItem(hwnd, ID_EDITBOX);

How can i get a pointer to an edit box in wxWindows? Thanks
Message2. Re: Getting Dialog Item
#2891
Posted by: upCASE 2003-11-14 17:53:07
Hi!
Check out wxWindow::FindWindow(), wxWindow::FindWindowById() and wxWindow::FindWindowByName() in the API.

upcase
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2024-4-17  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0