Quantcast
Channel: VBForums - API
Viewing all articles
Browse latest Browse all 168

Determine the handle to Parent window of the printer configuration property sheet

$
0
0
I need to obtain the handle to the parent window of the printer-configuration property sheet in Excel. I think I have to use FindWindow,
Code:

Declare Function FindWindow Lib "user32" Alias "FindWindowA" _
          (ByVal lpClassName As String, ByVal lpWindowName As String) As Long

But I have no idea what the strings for the two parameters should be? Could someone tell me how to determine these parameters?

Thanks,

Tom

Viewing all articles
Browse latest Browse all 168

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>