Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Controls
  New Posts New Posts RSS Feed - [QUESTION] About Resizer.hDC
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

[QUESTION] About Resizer.hDC

 Post Reply Post Reply
Author
Message
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Topic: [QUESTION] About Resizer.hDC
    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)
Back to Top
Xander75 View Drop Down
Senior Member
Senior Member
Avatar

Joined: 26 April 2007
Status: Offline
Points: 353
Post Options Post Options   Thanks (0) Thanks(0)   Quote Xander75 Quote  Post ReplyReply Direct Link To This Post Posted: 11 August 2011 at 8:54am
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. Unhappy 
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)
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.141 seconds.