Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - Skinning (child) dialog in MDI application
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Skinning (child) dialog in MDI application

 Post Reply Post Reply
jw_statica View Drop Down

Joined: 23 May 2018
Status: Offline
Points: 8
Post Options Post Options   Thanks (1) Thanks(1)   Quote jw_statica Quote  Post ReplyReply Direct Link To This Post Topic: Skinning (child) dialog in MDI application
    Posted: 06 June 2018 at 3:53am
I have problem connecting with skinning dialog in MDI application.
In order to explain it, I modified the CodeJock RibbonMDISample:
- added to project Dialog1 (style popup) and Dialog2 (style child).
- added members do class CMainFrame:  std::unique_ptr  dlg1; std::unique_ptr  dlg2;
- modified function void CMainFrame::OnViewFullscreen() 

void CMainFrame::OnViewFullscreen() 
  dlg1 = std::make_unique();
  if (dlg1->Create(IDD_DIALOG1, &m_wndClient))

  dlg2 = std::make_unique();
  if (dlg2->Create(IDD_DIALOG2, &m_wndClient))

After calling this function there will show 2 dialogs one (child) without skin and second (popup) skined.

We called function XTPSkinManager()->LoadSkin() and dialogs were skinned 
but after closing dialogs and opening them again they weren't skinned.uploads/9273/
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

This page was generated in 0.078 seconds.