dbTalk Databases Forums  

me.hDC

comp.databases.ms-access comp.databases.ms-access


Discuss me.hDC in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Phil Stanton
 
Posts: n/a

Default me.hDC - 04-01-2009 , 04:05 AM






Can anyone tell me what Me.hDC is.

I presume this is a property only available in Access versions after AK2. Is
there an equivalent for AK2

Thanks

Phil



Reply With Quote
  #2  
Old   
Tom van Stiphout
 
Posts: n/a

Default Re: me.hDC - 04-01-2009 , 08:38 AM






On Wed, 1 Apr 2009 10:05:17 +0100, "Phil Stanton"
<phil (AT) myfamilyname (DOT) co.uk> wrote:

hDC = handle to Device Context, which is used in many GDI calls. The
property does not exist in older versions, but you can use GDI calls
to get it (e.g. GetDC).
You're far in the outfield with calls like this. Lebans' site may
offer some guidance.

-Tom.
Microsoft Access MVP


Quote:
Can anyone tell me what Me.hDC is.

I presume this is a property only available in Access versions after AK2. Is
there an equivalent for AK2

Thanks

Phil


Reply With Quote
  #3  
Old   
Phil Stanton
 
Posts: n/a

Default Re: me.hDC - 04-01-2009 , 11:59 AM



Thanks for that, even though I can't apparently use it.
I presume me.hDC returns just a long integer so this can be used instead.

Trying to create rotated labels, rather than rotated text ( Stephen's
solutions come up with a box almost the size of the whole label (Vertical
height and Horizontal width) Unfortunately you can't set its fill to
transparent, so a number of them close together obscure each other. I need a
lable (narrow rectangle) at an angle which fits the text.

Thanks

Phil

"Tom van Stiphout" <tom7744.no.spam (AT) cox (DOT) net> wrote

Quote:
On Wed, 1 Apr 2009 10:05:17 +0100, "Phil Stanton"
phil (AT) myfamilyname (DOT) co.uk> wrote:

hDC = handle to Device Context, which is used in many GDI calls. The
property does not exist in older versions, but you can use GDI calls
to get it (e.g. GetDC).
You're far in the outfield with calls like this. Lebans' site may
offer some guidance.

-Tom.
Microsoft Access MVP


Can anyone tell me what Me.hDC is.

I presume this is a property only available in Access versions after AK2.
Is
there an equivalent for AK2

Thanks

Phil




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.