How to Pull Down the Printer List Box
Keywords: printer list box CB_SHOWDROPDOWN=335
Question:
I've been trying to use Sendkeys in the following code to pull down the printer list box, but it's not working:SendKeysTo("Print", "^p{tab}{Alt}{Down}{end>{up}") SendKeysTo("Print", "^p{tab}{Alt}{Down}{end}{up}")Any ideas?Answer:
Code to pull down printer list box. Incredibly difficult...This will pull it down, using the Control Manager extender:
AddExtender("wwctl34I.dll") SendKeysTo("~WordPad","^p") TimeDelay(1) printwnd=DllHwnd("Print") combobox=cWndByID(printwnd,1139) CB_SHOWDROPDOWN=335 IntControl(23,combobox,CB_SHOWDROPDOWN,1,0)
Article ID: W13701Filename: Pull Down Printer List Box.txt