Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Skin Framework
  New Posts New Posts RSS Feed - How can skinbutton with icon image?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How can skinbutton with icon image?

 Post Reply Post Reply
Author
Message
yaoxiaowei View Drop Down
Newbie
Newbie
Avatar

Joined: 27 April 2006
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote yaoxiaowei Quote  Post ReplyReply Direct Link To This Post Topic: How can skinbutton with icon image?
    Posted: 27 April 2006 at 3:57am

I am a user of version 1011,such lines in my code as following:


HICON m_hImage= AfxGetApp()->LoadIcon(nID);
 SendDlgItemMessage(IDC_PLAY,BM_SETIMAGE,IMAGE_ICON,(LP ARAM)m_hImage);

it can not work after dialog is skinned ,how can I do?

Back to Top
ABuenger View Drop Down
Newbie
Newbie
Avatar

Joined: 02 February 2006
Status: Offline
Points: 1075
Post Options Post Options   Thanks (0) Thanks(0)   Quote ABuenger Quote  Post ReplyReply Direct Link To This Post Posted: 03 May 2006 at 8:16am
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.203 seconds.