INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Closing Program (without it maximizing)  (Read 885 times)

R3V3RB

  • Member
  • *
  • Posts: 3
Closing Program (without it maximizing)
« on: March 21, 2012, 09:30:31 pm »

Hello,

I'm using MediaCenter for audio use and so I have the settings adjusted so that the program runs in miniview. When I go to close the program either by clicking the x in the programs top corner or by selecting file>exit or by clicking alt+f4 the program maximizes to full screen instead of closing as it's being told to.
I'd appreciate any help with this,
Thanks.
Logged

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Closing Program (without it maximizing)
« Reply #1 on: March 21, 2012, 10:19:57 pm »

There was a change made in early MC17 beta's, which the devs describe as:

Quote
WM_CLOSE should do the same thing as Alt+F4.  So if you're in Display View or Theater View, this should fall back to Standard View.

To close Media Center completely, you can use MCC_EXIT (20007):
MCC_EXIT,                                      // [int nMode (0: normal, 1: force close (close media server), 2: force close (allow media server))]

I suspect that Mini-view is similar to Display or Theater View, in that the close actually returns to Standard View, whereby you could hit Alt+F4 again.

If so, you can program a key to close entirely.  You can test this in a command line with the command:

  mc17.exe /mcc 20007

Ask if you need help setting this up and want to proceed.
Logged
The opinions I express represent my own folly.

audioriver

  • Citizen of the Universe
  • *****
  • Posts: 514
Re: Closing Program (without it maximizing)
« Reply #2 on: March 22, 2012, 10:14:27 am »

I'm also interested in this. Is there a way to permanently change the default behaviour, to close immediately instead of switching to Standard View first?
Logged
Windows 10 Pro x64
Pages: [1]   Go Up