Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - MSComCtl32.ocx Skinner problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MSComCtl32.ocx Skinner problem

 Post Reply Post Reply
Author
Message
devil20 View Drop Down
Groupie
Groupie
Avatar

Joined: 29 June 2006
Location: UK
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote devil20 Quote  Post ReplyReply Direct Link To This Post Topic: MSComCtl32.ocx Skinner problem
    Posted: 10 April 2007 at 9:51am
Hi

I want to use MSComctl32.ocx as progressBar control 6.0 but it doesnot seems to skin anyway ? Any suggestion why ?


Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 10 April 2007 at 2:57pm
Hi,
 
Do you use progressBar from ocx for MFC application?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
devil20 View Drop Down
Groupie
Groupie
Avatar

Joined: 29 June 2006
Location: UK
Status: Offline
Points: 38
Post Options Post Options   Thanks (0) Thanks(0)   Quote devil20 Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2007 at 1:21am
Yes

Because I need to user Ranges in float value.


Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 11 April 2007 at 3:57am
Call
 
XTPSkinManager()->GetClassMap()->AddSynonymClass(_T("ProgressBarWndClass") ,_T("msctls_statusbar32"));
XTPSkinManager()->GetClassMap()->AddSynonymClass(_T("ProgressBar20WndClass") ,_T("msctls_statusbar32"));
 
but I really think you need use standard MFC progress bar... just multiply your float value to some 100 or 1000...
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.