Re: CheckBox, render and hDC

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Mike D Sutton (EDais_at_mvps.org)
Date: 10/02/04


Date: Sat, 2 Oct 2004 19:41:27 +0100


> Just a check if this is what you mean.
<snip>

Here's the declarations:

'***
Private Declare Function GetDC Lib "User32.dll" (ByVal hWnd As Long) As Long
Private Declare Function ReleaseDC Lib "User32.dll" ( _
    ByVal hWnd As Long, ByVal hDC As Long) As Long
'***

Hope this helps,

    Mike

 - Microsoft Visual Basic MVP -
E-Mail: EDais@mvps.org
WWW: http://EDais.mvps.org/



Relevant Pages

  • Re: CheckBox, render and hDC
    ... Private Declare Function GetDC Lib "User32.dll" (ByVal hWnd As Long) As Long ...
    (microsoft.public.vb.controls)
  • Re: Minimize Maximize buttons
    ... Lib "user32" Alias _ ... "GetWindowLongA" (ByVal hwnd As Long, ... Private Declare Function SetWindowLong _ ... Dim lngStyle As Long ...
    (microsoft.public.excel.programming)
  • Re: Irregular Shape
    ... > Private Declare Function SetWindowLong Lib "user32" Alias ... > (ByVal hWnd As Long, ByVal nIndex As Long, ByVal dwNewLong As Long) As ... > Private Sub UserForm_activate ...
    (microsoft.public.excel.programming)
  • Re: Maximize or minimize form with button
    ... My Application window is ... Private Declare Function apiSetWindowLong _ ... Alias "SetWindowLongA" (_ ... ByVal hwnd As Long, _ ...
    (microsoft.public.access.modulesdaovba)
  • Re: Minimize Maximize buttons
    ... Lib "user32" Alias _ ... "GetWindowLongA" (ByVal hwnd As Long, ... Private Declare Function SetWindowLong _ ... Dim lngStyle As Long ...
    (microsoft.public.excel.programming)