Usage of BS_XT_SEMIFLAT in CFileDialog? |
Post Reply |
Author | |
sureshalways
Newbie Joined: 18 October 2003 Location: India Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 18 October 2003 at 2:25am |
Hi, I'm using codejock software for giving more enhancement to the user. I'm using CXTButton style for all the Buttons instead of CButton. I'm using BS_XT_SEMIFLAT style for all buttons. Now I'm facing a problem in CFileDialog. In Open/Save As CFileDialog having Open/Save and Close Button, how do I change the buttons style using CXTButton?
Any idea please
Suresh |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
1. Create CFileDialogEx inherited from CFileDialog 2.Add WM_INITDIALOG handler: BOOL CFileDialogEx::OnInitDialog(){
}
3. Add members to the header
CXTButton m_wndOk; CXTButton m_wndCancel; CWnd m_wndDialog; Edited by oleg |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |