Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old May 11th, 2005, 9:19 AM   #1
Josef_Stalin
Programmer
 
Join Date: Apr 2005
Posts: 77
Rep Power: 4 Josef_Stalin is on a distinguished road
Batch file to expand and minimize start menu

Is this possible? If so, what command could you use with windows XP in a batch file to do this?

If not is there a way to control it through c++?

Last edited by Josef_Stalin; May 11th, 2005 at 9:23 AM.
Josef_Stalin is offline   Reply With Quote
Old May 11th, 2005, 10:04 AM   #2
Ooble
I eat cake for breakfast.
 
Ooble's Avatar
 
Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9 Ooble is on a distinguished road
You could simulate the Windows key through C++. Probably.
__________________
Me :: You :: Them
Ooble is offline   Reply With Quote
Old May 11th, 2005, 12:16 PM   #3
Josef_Stalin
Programmer
 
Join Date: Apr 2005
Posts: 77
Rep Power: 4 Josef_Stalin is on a distinguished road
Oh I should have been more clear. I mean drag the whole bar small not open the button and close it.
Josef_Stalin is offline   Reply With Quote
Old May 11th, 2005, 12:55 PM   #4
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
why not turn auto hide on?
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old May 11th, 2005, 1:22 PM   #5
Josef_Stalin
Programmer
 
Join Date: Apr 2005
Posts: 77
Rep Power: 4 Josef_Stalin is on a distinguished road
I doubt it would work because the problem is that I am playing a game where you have to click down there in a windows and its all messed up because it's an older game (a king's quest). And if I click down there it would probably just bring up the start menu if I had auto hide. But I'm actually okay just doing it manually, just would be interesting if I could find another way.

Last edited by Josef_Stalin; May 11th, 2005 at 1:26 PM.
Josef_Stalin is offline   Reply With Quote
Old May 11th, 2005, 1:25 PM   #6
LOI Kratong
Professional Programmer
 
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4 LOI Kratong is on a distinguished road
If i understand you correctly, seems like a long way of going about something, like re-inventing the wheel...

When exactly did you want it to hide/show??
__________________
www.heldtogether.co.uk
LOI Kratong is offline   Reply With Quote
Old May 11th, 2005, 1:27 PM   #7
Josef_Stalin
Programmer
 
Join Date: Apr 2005
Posts: 77
Rep Power: 4 Josef_Stalin is on a distinguished road
I wanted to hide and show the whole bar. You know how you can drag it down so you can't see it. I want to be able to run a dos batch that puts it down runs the game and then when the game is over puts it up again.
Josef_Stalin is offline   Reply With Quote
Old May 11th, 2005, 2:03 PM   #8
LOI Kratong
Professional Programmer
 
Join Date: May 2005
Location: Woo - Boot Sector!
Posts: 294
Rep Power: 4 LOI Kratong is on a distinguished road
OH, you want it for a game, now that's a different matter, now i understand... I'm sure there must be a fairly easy way of doing it, you can press f11 in IE and it dissappears so that the window covers the whole screen.

I'm not sure how though, have you tried it on google? Almost all other games hide the taskbar too, so i can't believe that it isn't mentioned somewhere on the web!
__________________
www.heldtogether.co.uk
LOI Kratong is offline   Reply With Quote
Old May 11th, 2005, 2:23 PM   #9
layer
Hobbyist Programmer
 
Join Date: Feb 2005
Posts: 112
Rep Power: 4 layer is on a distinguished road
You could download AutoIt... You could do a simulation of mouseclicks (with AutoIt) to rightclick the taskbar, click "lock taskbar", then move the mouse to that certain position to drag it down... Or it may be possible without the mouseclicks now that AutoIt is advancing so fast and there is many new support in the language... Check it out, www.autoitscript.com
layer is offline   Reply With Quote
Old May 11th, 2005, 2:23 PM   #10
Josef_Stalin
Programmer
 
Join Date: Apr 2005
Posts: 77
Rep Power: 4 Josef_Stalin is on a distinguished road
Yeah but this is an old game before '91 I think so it is wierd. Thanks, I'll sure that, I didn't know you could do that. I could write a c++ program to do that for me if I wanted by simulating that key.
Josef_Stalin is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 10:40 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC