[QUESTION] About Resizer.hDC |
Post Reply |
Author | |
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
Posted: 11 August 2011 at 5:23am |
Hi,
The Resizer doesn't appear to have the .hDC for getting the handle to a device context. Is there anyway to get this or could this be added? The reason being I am trying to add a Drop Shadow to a PictureBox which is inside the Resizer control. I have used the GetDC API,which seems to work however I think the Resizer won't paint the Drop Shadow. |
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
Xander75
Senior Member Joined: 26 April 2007 Status: Offline Points: 353 |
Post Options
Thanks(0)
|
Using the GetDC API I have correctly got the hDC of the Resizer, but it seems that it won't paint the Drop Shadow in the Resizer due to there being no AutoRedraw, Paint or Refresh method for the Resizer control.
|
|
Product: Xtreme SuitePro (ActiveX) v15.3.1
Platform: Windows 7 64-bit (SP1) Professional Edition Languages: C#.Net using Visual Studio 2012 & Visual Basic 6.0 (SP6) |
|
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 |