Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Button on Resizable Bar doesn't work Collapse All
Subject Author Date
Adam chen Jan 16, 2009 - 3:41 AM

Hi expert,


I put a button on Resizable Bar 3 on SDI  Sample from this web site, and add a code line as below



void

{

CDlgFor_IDD_IN_BAR_DLG::OnBnClickedOk()

::AfxMessageBox(T_("Hi expert"));

}


 


but I found it doesn’t work when I click this button. Can you help me? By the way, If I add other controls such as Editor control or ComboBox on Resizable Bar, how to make those controls work well on Resizable Bars? Thanks for your help!


CDlgFor_IDD_IN_BAR_DLG is the class of IDD_IN_BAR_DLG dialog in this sample.

Technical Support Jan 20, 2009 - 5:29 AM

Could you please send us a modified version of our sample project which demonstrates the problem with the button to the support mail box at this web site?

Adam chen Jan 16, 2009 - 4:21 AM

 


I have read the similar topics as followings, but It still doesn’t work. Experts could you send me a sample project? thanks very much!


http://www.prof-uis.com/prof-uis/tech-support/general-forum/handling-controlbar-message-7908.aspx


i read the forum http://www.prof-uis.com/Forum_View.aspx?CID=29&M=5969

Adam chen Jan 16, 2009 - 3:50 AM

sorry for the incorrect code when I paste the source code, I paste it correctly again as following:


void CDlgFor_IDD_IN_BAR_DLG::OnBnClickedOk()

{


 ::AfxMessageBox("Hi expert");

}