I Need To Maximize A Window Which Is At Minimize State
hi friends , i need in asp that i can get a minimized window tobe maximised as some value of my another page is changed .here i will like to mention that i don't need to reload the minimized window but just maximise it plz its urgent
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- Minimize, Maximize, Restore Other Window.
- How To Maximize And Minimize The Window Named "Reminder" Thorugh Code
- How To Maximize And Minimize The Window Named "Reminder" Thorugh Code
- Minimize/Maximize
- Minimize, Maximize
- Minimize/Maximize My App With Another App
- Minimize Maximize
- Maximize-Minimize
- Minimize Maximize App
- Minimize/maximize Button In MDI
- Mdi Form Minimize Maximize
- Minimize && Maximize Forms
- Minimize + Maximize + X *RESOLVED*
- How 2 Do Form Minimize, Maximize
- Maximize, Minimize Buttons?
- Minimize, Maximize And X Button
- Minimize / Maximize VB Form
- The Close Maximize And Minimize Buttons
- Maximize And Minimize Form With Code
- Form Resize, Maximize, Minimize, Etc.
- Query Regarding Minimize And Maximize Of Forms
- Minimize, Maximize, Close And -my- Button
- Disable Maximize And Minimize Buttons
- Disable Minimize And Maximize Button Of A Form?
- Static Border With Minimize And Maximize Buttons?
- Stop The Animation During Minimize/Maximize On MDI Child
- Detecting Maximize/minimize Button Presses
- Add Another Button Next To The Minimize,maximize, Close Buttons
- Using Minimize And Maximize Option In VBA User Form
- Showing The Minimize And Maximize Button On The Title Bar?
- How To Disable The Minimize, Maximize && Close Buttons On A Form??
- How To Disable Minimize && Maximize Button Of MDI Child Forms
- Minimize, Maximize, And Closing Codes? How! Hellppp,poplzlzzzlz
- How To Disable The Minimize, Maximize && Close Buttons On A Form??
- Capture Minimize/Maximize Button Click Event
- Multiple Set Of Minimize/maximize/close Button On The MDI Form
- How To Disable The Minimize, Maximize && Close Buttons On A Form??
- Removing Minimize/maximize Button Of MDIForm's Caption Bar
- Removing Minimize/maximize Button Of MDIForm's Caption Bar
- How To Remove The Close Button Of The Form Without Removing The Minimize And Maximize
- Remove Close,minimize And Maximize Button But Retain The Icon
- Get Active Window Handle / Minimize Window
- Word 2000: Add The Minimize Maximize Button To A Word Form
- Maximize A Window
- Maximize Window
- API (Window Maximize)
- Maximize Window
- Maximize Application Window
- Maximize Window When Launched
Minimize, Maximize, Restore Other Window.
Is there a way to make my application tell something else to minimize/maximize/restore itself.
Example: My form commands Windows Media Player to minimize, but not just Media Player. I want to minimize/maximize/restore any window.
How To Maximize And Minimize The Window Named "Reminder" Thorugh Code
Hi,
I developed a project in VB6, it checks the database and if the date field matches then, the application will mail the user(i.e Reminder). I compiled this project & placed the Exe in Scheduled Tasks in Control Panel and assign it to run daily at 8:00Am. So it will atumatically run daily. I am getting mails when i test from Project it works fine.
The issue here is, as soon as the 8:00 Am comes the application started running, but it is minmized in the Taskbar,after i click the application from the Taskbar the application starts working & sending mail process is completed.
If i didn't click the application in the Taskbar, that remains in teh minimized state for ever. How to solve this issue.
I hope this could be solved if i click the Application once through code & minimize it again.
Kindly reply me about it & any idea or code sample will be helpful.
Thankyou,
Chock.
How To Maximize And Minimize The Window Named "Reminder" Thorugh Code
Hi,
I developed a project in VB6, it checks the database and if the date field matches then, the application
will mail the user(i.e Reminder). I compiled this project & placed the Exe in Scheduled Tasks in Control Panel and
assign it to run daily at 8:00Am. So it will atumatically run daily. I am getting mails when i test from Project it works fine.
The issue here is, as soon as the 8:00 Am comes the application started running, but it is minmized in the Taskbar,after i click the application from the Taskbar the application starts working & sending mail process is completed.If i didn't click the application in the Taskbar, that remains in teh minimized state for ever. How to solve this issue.
I hope this could be solved if i click the Application once through code & minimize it again.
Kindly reply me about it & any idea or code sample will be helpful.
Thankyou,
Chock.
Edited by - chs on 11/28/2005 10:39:05 PM
Minimize/Maximize
And what is the code to minimize or maximize a form. I want to try border style 0 and make my own image and replace the original buttons with a command button and do the code behind it to minimize or maximize.
Minimize, Maximize
I need someone to help me with a code i dont if its even possible.
what i need is make a code that will have the options to minimize and maximize the other application
Minimize/Maximize My App With Another App
Ok, after doing some searching, and modifiying the code I found I came up with the code below. It's not quite producing the results I want and I'm not sure why.
Here is the effect I want: When an application's window has focus, my application gets always on top and shows. When the application gets mimized or is not in focus, my application should not longer have always on top applied and show hide. Right now my app will still show when I don't want it to sometimes.
VB Code:
' API's '#####################################'Always on topPrivate Const HWND_TOPMOST = -1Private Const HWND_NOTOPMOST = -2Private Const SWP_NOMOVE = 2Private Const SWP_NOSIZE = 1Private Const FLAGS = SWP_NOMOVE Or SWP_NOSIZE Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long'#####################################'Find topmost windowPrivate Const GW_HWNDNEXT = 2Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPrivate Declare Function GetForegroundWindow Lib "user32" () As Long'##################################### '... inside a timer Dim APPhWnd As Long Dim lngTopWindow As Long ' Check if APP is active window APPhWnd = FindWindow(vbNullString, "Application Name") lngTopWindow = GetForegroundWindow If lngTopWindow = APPhWnd Or lngTopWindow = Me.hwnd Then ' APP is the top window, make timer program visible and always on top If p_bolAlwaysOnTop = False Then p_bolAlwaysOnTop = True SetWindowPos Me.hwnd, HWND_TOPMOST, 0, 0, 0, 0, FLAGS Me.Show End If Else ' APP is not on top, hide timer program If p_bolAlwaysOnTop = True Then Call MoveForm("Hide") p_bolAlwaysOnTop = False SetWindowPos Me.hwnd, HWND_NOTOPMOST, 0, 0, 0, 0, FLAGS Me.Hide End If End If
If anyone could help I would appreciate it. Or if anyone has a better way of doing whwat I want, thats good too. Thanks
Minimize Maximize
I know you can put code in vb for when someone hits the x to kill the program you can have it so it doesn't unload by using
form_unload(cancel as integer) or something along those lines it doesn't matter but is there code that says when the maximize button is hit then something happens or if the minimize button is hit then something happens?
Maximize-Minimize
Hello,
How can I tell (in code) when a form is being restored from the taskbar
after having been minimized? I don't want my 'form.resize' event to be
executed in this situation.
Thanks,
Gord
Minimize Maximize App
In my App i need to minimize it and then maximize it after a certain proccess has completted, my problem is that i can hide the app by using the ME.Hide() but when i try and bring it forward with the Me.Show() it fails to show. does anyone have any ideas to make this work all the time.
Cheers Lance
Minimize/maximize Button In MDI
Hi,
I have a graphical problem with the minimize/maximize buttons (control box) of MDI children.
See this attachment:
http://www.xtremevbtalk.com/attachme...id=26080&stc=1
there are displayed to times the control box.
when i click on the minimize/maximize button the second disappears and only one is drawn correctly aft6erwards. did anyone experience similiar problems?
whats a solution to this? programming a click on the buttons??
thanks
Minimize && Maximize Forms
Hello,
In my program I have several forms showing at any one time. I have set up a Command Button that the user can use to 'Minimize' the whole page, forms included. I have turn off the Minimize/Maximize buttons on all the forms so as not to confuse. This so as not to this works well and all forms reduce to just 1 (one) block, whatever you call it, on the Status Bar with the program name shown.
However I cannot seem to get all the forms back when you 'Double-Click' or 'Restore' the program, only 1 (one) form/page comes up.
Is there a way to do this or am I just wishfull thinking?
Thank You
Tarablue
Minimize + Maximize + X *RESOLVED*
Ok, I have searched through several threads looking for info on minimizing, maximize and X for forms. I have found several interesting threads, but I can't seem to find what I am looking for.
I have two forms open, one is my main form. If I click the minimize control, I want both form to minimize and and only show as one form in the task bar.
If I open the form up again, I want everything to open up as it was before. Now the part I seem to be missing is how to indicate in my code that the minimize or maximize or X control has been clicked.
I know for example if I don't want my other form in the task bar to use something like this and to open the forms together with this.
VB Code:
frmOtherForm.show, frmMainShowInTaskBar = false
How 2 Do Form Minimize, Maximize
Hi All,
I wanted to make a borderless windows with minimize and maximize functions ......i wanted to add this functionality to my software using command buttons and not the control box... how can this be done ....please help me with some source code....i'm using vb6.0.
Maximize, Minimize Buttons?
I have an excel macro which has been programmed by a non excel user!
On startup it deletes all the toolbars from the screen (OK but why doesn't he replace them on quit??),
I've managed to fix this but can't find the part where the maximize, minimize and close buttons are switched off.
does anyone know how this is done?
thanks for taking the time......
Minimize, Maximize And X Button
I don't know what happened
Hi,
At the top of a form, we have minimize, maximize and X button... If I want to program when I quit with the X button, how can I catch the X button?
Thanks in advance
Mel
Minimize / Maximize VB Form
Hi everyone,
In my coding for a form (say, form_A.frm), I wish to minimize it (form_A.frm) after user presses a button. Likewise, I want to maximize the form (form_A.frm) later when an event is triggered.
I know there is a Shell command that allows maximize of an application by using 'vbMaximizedFocus' as WindowStyle. But this is meant for applications, and not VB forms, am I right? How do I get a form minimized / maximized?
Thankies in advance!
Form Resize, Maximize, Minimize, Etc.
How do I fire up an event when the maximize/minimize/resize button was clicked on the title bar of a form?
I guess there's a way if you have the timer running when it checks for window state, but I am looking for more "intelligent" way to do it
Thanks!
Query Regarding Minimize And Maximize Of Forms
hi
i am using a browser......and i did following......
SendKeys "{TAB}"
SendKeys "{TAB}"
SendKeys "{TAB}"
SendKeys "{TAB}"
SendKeys "{TAB}"
SendKeys "{TAB}"
SendKeys "{ENTER}"
to press a submit button...........but on doing this the web browser suddenly minimizes........how can i prevent it from doing so?
thanks
regards
vivek.s
Disable Maximize And Minimize Buttons
Hi everybody,
I have disabled the entries for minimize and maximize in the system menu of a MDI form. When I open the system menu these two entries are disabled. But the buttons are still active and the user can click on them. The buttons have no function (no minimizing or maximizing of the form), but it looks not very good when there are active buttons with no function. I have used the two API functions GetMenuItemInfo and SetMenuItemInfo to disable the entries of the system menu and when I disable the "Close" menu item, the button is disabled too. So can anybody tell me how to disable the min and max buttons in a MDI form.
Best regards
Michael Hartmann
Disable Minimize And Maximize Button Of A Form?
Hello, Everyone:
I would like to disable minimize and maximize button of a Form. I don't know why the code in this link doesn't work. Also, who can tell me how I disable them by doing so before creating the window? And I want to only keep X close window?
Thank you very much!
Charlie
http://www.mangovision.com/vbapi/ref/r/removemenu.html
Static Border With Minimize And Maximize Buttons?
Hi everyone,
How do I code my program so that my form size is static and it still maintains the minimize and maximize buttons?
I am using the border style fixed-single and it is only displaying the "X" but nothing else.
Does anyone know how to resolve this? Thank you.
Stop The Animation During Minimize/Maximize On MDI Child
Is there anyway to prevent windows form animating the form while it is being minimized or maximized. It creates a really ugly effect on my MDI Child windows.
I tried the LockWindowUpdate API, but that messes up everything else I use and makes it look like my form is lagging.
Any ideas?
Using Minimize And Maximize Option In VBA User Form
hi everyone........
I have to two excel sheets with one having User form....when i try to restore the 2nd sheet the the sheet with the user form gets restored.....
Can some one tell me is there any event related to minimization or maximisation of Excel sheet????? Or else By any means can i use minimize and maximize button in User form???/
PLease mail me at ranjan.amit@tcs.com
with regards.....
Amitt
Showing The Minimize And Maximize Button On The Title Bar?
Now now now.....I've a form whereby I set the border style property to Fixed Dialog. Now, after setting this style, there doesn't seem to be any Minimize or Maximize buttons on the form's title bar.
Is there a way to show this? Thanks a lot!
How To Disable The Minimize, Maximize && Close Buttons On A Form??
Greetings every1,
can any1 plz tell me if there is a way to disable the minimize,maximize and close button on a form. I dont want to use the ControlBox property, i want the buttons to be visible but they must be disabled. I know this is possible, but just dont know the method. This should be done using APIs.
Minimize, Maximize, And Closing Codes? How! Hellppp,poplzlzzzlz
Hello, i don't wanna use the standard window bar to close, max, and minimize my prog, how can i just create a label, when clicked it will do that, i don't know the codes for the following above.
ALSO--is there a way that if the mouse goes over the maximize or minimize symbol that it changes it look? like a mousover effect? possibly color change?
ty-
How To Disable The Minimize, Maximize && Close Buttons On A Form??
Greetings every1,
can any1 plz tell me if there is a way to disable the minimize,maximize and close button on a form. I dont want to use the ControlBox property, i want the buttons to be visible but they must be disabled. I know this is possible, but just dont know the method. This should be done using APIs.
How To Disable The Minimize, Maximize && Close Buttons On A Form??
Greetings every1,
can any1 plz tell me if there is a way to disable the minimize,maximize and close button on a form. I dont want to use the ControlBox property, i want the buttons to be visible but they must be disabled. I know this is possible, but just dont know the method. This should be done using APIs
Get Active Window Handle / Minimize Window
Hello,
I have two (hopefully) simple questions that I hoped could be answered.
How do you obtain the currently active window's handle? I have tried GetActiveWindow, it doesn't seem to work.
How do you minimize a window through the use of the window handle? I do not want to have to focus on the window I am trying to minimize.
Thankyou
Edit: I just thought of another question I need answered.
Could somone please tell me how to use the API SetCursor, and whether SetCursor persists through a restart?
Quote:
Private Declare Function SetCursor Lib "user32" (ByVal hCursor As Long) As Long
Maximize A Window
I want to have an MDI child form maximized when it starts up, but I don't want the button to appear. I tried setting it to maximized and setting the maximized button to false, but it always sets it back to true at run time. If I try to set it false at run time, but it says that it can't be changed at run time. Can somebody help?
Maximize Window
how do I set the windowstate to maximized, but have the bottom of my main form stop at the top of the taskbar? I've been struggling with it for a couple days now.
Nevermind. Stupid little things seem to be getting the best of me lately
"And the day shall come when the Viper will take his throne"<P ID="edit"><FONT class="small"><EM>Edited by GrimViper on 06/26/01 05:46 PM.</EM></FONT></P>
API (Window Maximize)
Am having window handle id,
with that i have to check whether the window is in maximized state or minimized state.
Maximize Window
Hi, does anyone know how to make it so when you start up a program in VB it will maximize but not cover the windows task bar at the bottom - The one with the start menu?
Setting windowstate to vbMaximize covers the start menu so I would like to know if there's another way
Maximize Application Window
Hey all, hopefully this is an easy one:
I want to be able to maximize the Access application that my form runs in. I am using VBA inside of Access to manipulate my developed form, but can not find code that works to try and maximize the Microsoft Access Application itself.
When I tried Access.docmd.maximize it did not like the code; when I try Access.Application.docmd.maximize it manipulates the form I created. Help!
Maximize Window When Launched
when i run an EXE using the Shell command. how can i make sure the program window is maximized. Not the VB Form, but the launched EXE (IE. Word, AOL, Notepad) Thanks.
|