Print Page | Close Window

[QUESTION] About Resizer.hDC

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=18814
Printed Date: 19 September 2024 at 2:58pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: [QUESTION] About Resizer.hDC
Posted By: Xander75
Subject: [QUESTION] About Resizer.hDC
Date 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)



Replies:
Posted By: Xander75
Date 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)



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net