Hi Real, > I have it so that user can copy data from a window outside > the program, then paste it into the program's grid. But > every time you click back on the program's form, the window > of the non-program keeps closing. Does anyone know how you > can make it so that both windows stay on the screen? I > tried the zorder method and that doesn't do any good.
Is the other window actually closing or is it just disappearing behind your form? There are ways to intercept the mouse-leave event or whatever the trigger is that is causing the window to /close/, but these are half-baked and poor solutions. If it's just getting pushed behind your window you can use anything from setting window transparency (req. 2000 or better) to see the content thru your form to scanning input boxes in other windows on the screen (to avoid the need to copy) to, or use the SetWindowPos API with a HWND_BOTTOM flag to push it behind the other application windows. Regards, Shawn K. Hall http://12PointDesign.com/ http://ReliableAnswers.com/ '// ======================================================== Artificial intelligence usually beats real stupidity. ------------------------ Yahoo! Groups Sponsor --------------------~--> <font face=arial size=-1><a href="http://us.ard.yahoo.com/SIG=12hna51s0/M=362329.6886308.7839368.1510227/D=groups/S=1705115364:TM/Y=YAHOO/EXP=1124167786/A=2894321/R=0/SIG=11dvsfulr/*http://youthnoise.com/page.php?page_id=1992 ">Fair play? Video games influencing politics. Click and talk back!</a>.</font> --------------------------------------------------------------------~-> '// ======================================================= Rules : http://ReliableAnswers.com/List/Rules.asp Home : http://groups.yahoo.com/group/vbHelp/ ======================================================= Post : [email protected] Join : [EMAIL PROTECTED] Leave : [EMAIL PROTECTED] '// ======================================================= Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/vbhelp/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
