![]() |
How Can I use BackGround Pictrue In Vc++ |
Post Reply
|
| Author | |
jianxin0805
Newbie
Joined: 22 December 2005 Location: China Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Topic: How Can I use BackGround Pictrue In Vc++Posted: 22 December 2005 at 5:58am |
|
While use CXTPTabClientWnd I can not use MDI background Picture in vc++.how to do it.Thank you PS:My english is not good. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 December 2005 at 10:41am |
|
Hello, You can 1. Override its OnFillBackground, or override it and set m_bThemedBackColor = FALSE; |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jianxin0805
Newbie
Joined: 22 December 2005 Location: China Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 December 2005 at 11:54pm |
|
I tried that.but i does not work well.the picture does not show normally. can you show an example. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 December 2005 at 4:17am |
|
Hello, Attach your try and I will fix it. |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jianxin0805
Newbie
Joined: 22 December 2005 Location: China Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 December 2005 at 6:00am |
|
here is my project.i use Xtreme Toolkit pro 9.6.VC++ 2003 thank you very much.2005-12-23_060013_MyMdiTab.rar |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 December 2005 at 8:07am |
|
Add in .h void OnSize(UINT nType, int cx, int cy);DECLARE_MESSAGE_MAP();
in .cpp BEGIN_MESSAGE_MAP(CMyClientWnd, CXTPTabClientWnd) ON_WM_SIZE() END_MESSAGE_MAP() void CMyClientWnd::OnSize(UINT nType, int cx, int cy){ CXTPTabClientWnd::OnSize(nType, cx, cy); Invalidate(FALSE); } |
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
jianxin0805
Newbie
Joined: 22 December 2005 Location: China Status: Offline Points: 4 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 December 2005 at 9:54am |
|
Thanks a lot
![]()
|
|
![]() |
|
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 |