Click here to Skip to main content
15,894,017 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

Just wondering if anyone could help.

I've found some code that'll let me open an external application, then it finds the window with a certain title and class then opens it within the panel, my problem is that i need to maximise the application thats inside the panel so it takes the panel size.

VB
SetParent(FindWindow("RTI_PrCl", "Conventional add on scanning system."), Panel1.Handle)


i've tried the code below but it doesnt want to work:

VB
SendMessage(Panel1.Handle, WM_SYSCOMMAND, SC_MAXIMIZE, 0)


Any help would be brilliant.

Cheers,
Pete
Posted
Comments
PeterHall 19-Sep-13 2:56am    
anyone?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900