View Single Post
Old July 28th, 2006, 04:12 PM   #1 (permalink)
Red Monkey
Newbie - Zero Capacity
 
Join Date: May 2006
Location: NY
Posts: 4
Red Monkey
Send a message via AIM to Red Monkey Send a message via MSN to Red Monkey
redrawing plugin skin over an external app embeded in plugin

I am creating a plugin for iguidance in CF, I have been successfull in creating a plugin that loads ig, kills the nag screen and makes ig a child window and places it neatly in the plugin area. I want to have the menu bar on the skin of my plugin show ontop of the top part of the child ig window so that I can put cf controls there to send vkeys to ig.

I am using winAPI's MoveWindow() function to ajust the position of the ig window in the plugin and i want to hide the ig menu bar under the plugin titlebar.

for example if I use: MoveWindow(mywindow, -2, -40, this.Width +2, this.Height +40, true) the result is that the ig menu bar is off the top and the window boarder off the sides and out of sight. if i canged the -40 to +51 then the ig winodw would apear below my skins menu bar but the ig menu will still be visible.

hope this makes sense, anyone have any ideas?
Red Monkey is offline   Reply With Quote