![]() |
how to paint mdiclient |
Post Reply
|
| Author | |
ws0411101
Newbie
Joined: 18 November 2010 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Topic: how to paint mdiclientPosted: 29 November 2010 at 4:25am |
|
when i use extremeCommandBars, i should use :
obj_extremeCommandBars.SetMDIClient(myMdiClient.Handle.ToInt32) to bound the MdiClient object handle to the commandBars. commandBars get the handle of MdiClient, but how can i paint some text on the MdiClient. |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 29 November 2010 at 10:00am |
|
Hi,
Not sure if it works for .NET but please try CommandBars.Workspace.AutoTheme = False;
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
ws0411101
Newbie
Joined: 18 November 2010 Status: Offline Points: 5 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 December 2010 at 5:26am |
|
oleg, thank you! but your ways didn't work, the text can't paint on the MdiCilent,
it seems that after i use this code: CommandBars.SetMDIClient(myMdiClient.Handle.ToInt32) to set the MdiClient handle to CommandBars, the MdiClient can't respond any event. i define two sub to paint text, and binding them to event "Paint" and "Resize", like this: AddHandler myMdiClient.Paint, AddressOf Mdi_OnPaint AddHandler myMdiClient.Resize, AddressOf Mdi_OnResize but when i debug the program, the two sub doesn't execute. do you have some other method to solve this problem?? thank you! |
|
![]() |
|
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 |