|
-
Feb 23rd, 2005, 11:16 PM
#1
Thread Starter
Addicted Member
Controlling Window Size
hi
how to i control the size of external windows, i mean the windows other than my application, i want to resize them because my application loadz banners/ads above taks bar like a pop up window, i have made it on top but the problem is that even though it remains on top the other windows tend to hide behind it, i want to resize other windows n restrict them to be placed above my popup banner
-
Feb 23rd, 2005, 11:21 PM
#2
Re: Controlling Window Size
There is an API call that notifies all runnning parent windows about your task bar window. It tell them
that the desktop area has a new taskbar. If I find it I will post. Try searching for something like broadcast notify
or such.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 23rd, 2005, 11:54 PM
#3
Thread Starter
Addicted Member
Re: Controlling Window Size
hi well i tried searching with "broadcast notify" but as am not a good searcher it returned 10000s of irrelevant results, and also i tried to search particular vb codes but havent yet gone to find the actual solution
-
Feb 23rd, 2005, 11:55 PM
#4
Re: Controlling Window Size
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 24th, 2005, 12:07 AM
#5
Fanatic Member
Re: Controlling Window Size
It is bad programming practice to interfere with other applications.
There is an API call to make your window topmost, so that it floats on top of all others.
Depending on what you are displaying, and how long it is displaying, that may be a more appropriate solution ?
http://www.developerfusion.com/scrip...t.aspx?id=2940
-
Feb 24th, 2005, 12:10 AM
#6
Re: Controlling Window Size
That not the requirement here though. His app is like a taskbar window. So all other windows have to
resize around it as if it was the end of the desktop area, just like the taskbar does.
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Feb 24th, 2005, 12:10 AM
#7
Re: Controlling Window Size
 Originally Posted by RobCrombie
It is bad programming practice to interfere with other applications. ...
I wish you would explain why and perhaps give us some details ...
-
Feb 24th, 2005, 12:24 AM
#8
Thread Starter
Addicted Member
Re: Controlling Window Size
well am making a generic sports scorebaord, first of all user will choose a menu from combo box that which game he / she wants to know score of ... the two possible options ryte now are Cricket n Football,
then there would be a little popup window kind of thing would run, on whose left side would be banners/ads displayed n on the right side the actualy scoreboard for that game,
now did u get the theme of my project ?
-
Feb 24th, 2005, 12:34 AM
#9
Re: Controlling Window Size
Oh, if you hyousuf2 replied to my previous post then it was addressed to RobCrombie in regards to his "It is bad programming practice ..." statement.
In any case you did clear up few things and that may help you to get answer(s) faster, I hope.
Interesting project, btw.
Best regards and good luck.
-
Feb 24th, 2005, 12:45 AM
#10
Thread Starter
Addicted Member
Re: Controlling Window Size
well thnx rhinobull, but i would really appreciate if you GURUS would help me sort out this problem n also gimme suggestions for this project !
-
Feb 24th, 2005, 01:33 AM
#11
Thread Starter
Addicted Member
Re: Controlling Window Size
hi
well i also found this see if ne one could use to resolve the problem
http://www.mentalis.org/apilist/SetWindowPos.shtml
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|