Is it possible? My applycations is runnig in small screen
Thanks?
|
|
0
|
|
|
|
Reply
|
M
|
12/10/2009 7:34:09 PM |
|
Dnia 2009.12.10 20:34, u�ytkowniczka/u�ytkownik M Mordkovych napisa�a/napisa�
(niepotrzebne skre�li�):
> Is it possible? My applycations is runnig in small screen
>
Probably no - in Vista no full screen for terminal and dos application :(
Jacek K.
--
"Serce rozwa�ne szuka m�dro�ci, usta niem�drych syc� si� g�upot�."
(Prz 15:14)
"The heart of him that hath understanding seeketh knowledge: but the mouth of fools
feedeth on foolishness."
( Proverbs 15:14)
|
|
0
|
|
|
|
Reply
|
Jacek
|
12/10/2009 7:42:42 PM
|
|
Dear M Mordkovych:
On Dec 10, 12:34=A0pm, "M Mordkovych" <mmordk1_no_spam_...@verizon.net>
wrote:
> Is it possible? My applycations is runnig in small
> screen
Just change your font size. You can do this in your program, or with
the properties on shortcuts. You have a true Windoze application with
(x)Harbour, so this possible.
David A. Smith
|
|
0
|
|
|
|
Reply
|
dlzc
|
12/10/2009 9:24:47 PM
|
|
Sorry, do not agree, because I can say that it is possible.
Here you are:
/*
------------------------------------------------------------------------------------
*/
* it is really possible to create a full screen window application,*
* even using Windows
7! *
* By Reynaldo Henrique -
12/09/2009 *
*
------------------------------------------------------------------------------------
*
PROCEDURE MAIN()
/*
------------------------------------------------------------------------------------
*/
// First, call the magic function.!
SET_WINDOW_FULL_SCREEN()
do while inkey(1) != 27
QOut( "press ESC key to exit the app. " + time() )
enddo
RETURN // main()
/*
------------------------------------------------------------------------------------
*/
#pragma BEGINDUMP
#include "hbapi.h"
#include <windows.h>
/*
------------------------------------------------------------------------------------
*/
HB_FUNC( SET_WINDOW_FULL_SCREEN)
{
keybd_event(VK_MENU, 0x38, 0, 0);
keybd_event(VK_RETURN, 0x1c, 0, 0);
keybd_event(VK_RETURN, 0X1c, KEYEVENTF_KEYUP, 0);
keybd_event(VK_MENU, 0x38, KEYEVENTF_KEYUP, 0);
}
/*
------------------------------------------------------------------------------------
*/
Reynaldo Henrique
|
|
0
|
|
|
|
Reply
|
reinaldohf
|
12/10/2009 11:36:18 PM
|
|
Hi,
Really sorry again.
When I tried, I was using Windows XP and thinking I was using my
Windows 7.
This mistake was because I using both Win 7 and Win XP, on the same
machine.
So, I make a little confusion by myself. I comproved, and it work
good only on windows xp.
Reynaldo Henrique
On 10 dez, 21:36, reinaldohf <reinald...@gmail.com> wrote:
> Sorry, do not agree, because I can say that it is possible.
>
> Here you are:
>
> /*
> -------------------------------------------------------------------------=
--=AD---------
> */
> * =A0it is really possible to create a full screen window application,*
> * =A0even using Windows
> 7! =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 *
> * By Reynaldo Henrique -
> 12/09/2009 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0*
> *
> -------------------------------------------------------------------------=
--=AD---------
> *
> PROCEDURE MAIN()
> /*
> -------------------------------------------------------------------------=
--=AD---------
> */
>
> =A0 =A0 =A0 =A0 // First, call the magic function.!
> =A0 =A0 =A0 =A0SET_WINDOW_FULL_SCREEN()
>
> =A0 =A0 =A0 =A0do while inkey(1) =A0!=3D 27
> =A0 =A0 =A0 =A0 =A0 =A0 =A0QOut( "press ESC key to exit the app. =A0 " + =
time() )
> =A0 =A0 =A0 =A0enddo
>
> RETURN // main()
> /*
> -------------------------------------------------------------------------=
--=AD---------
> */
> #pragma BEGINDUMP
> #include "hbapi.h"
> #include <windows.h>
> /*
> -------------------------------------------------------------------------=
--=AD---------
> */
> =A0HB_FUNC( SET_WINDOW_FULL_SCREEN)
> =A0 {
> =A0 =A0 =A0 =A0 =A0 keybd_event(VK_MENU, 0x38, 0, 0);
> =A0 =A0 =A0 =A0 =A0 keybd_event(VK_RETURN, 0x1c, 0, 0);
> =A0 =A0 =A0 =A0 =A0keybd_event(VK_RETURN, 0X1c, KEYEVENTF_KEYUP, 0);
> =A0 =A0 =A0 =A0 =A0keybd_event(VK_MENU, 0x38, KEYEVENTF_KEYUP, 0);
> =A0}
> /*
> -------------------------------------------------------------------------=
--=AD---------
> */
>
> Reynaldo Henrique
|
|
0
|
|
|
|
Reply
|
reinaldohf
|
12/10/2009 11:56:46 PM
|
|
But you can try, as here:
// ---------------------------------------------------------------- //
IF ! SetMode( 60, 132 ) // the most you can get
IF ! SetMode( 50, 132 )
IF ! SetMode( 43, 132 )
IF ! SetMode( 25, 132 )
IF ! SetMode( 60, 80 )
IF ! SetMode( 50, 80 )
IF ! SetMode( 43, 80 )
IF ! SetMode( 25, 132 )
// the less you can get
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
ENDIF
// ---------------------------------------------------------------- //
Reynaldo Henrique
|
|
0
|
|
|
|
Reply
|
reinaldohf
|
12/11/2009 12:06:07 AM
|
|
Dear reinaldohf:
On Dec 10, 4:56=A0pm, reinaldohf <reinald...@gmail.com> wrote:
> Really sorry again.
>
> When I tried, I was using Windows XP and
> thinking I was using my Windows 7. This
> mistake was because I using both Win 7
> and Win XP, on the same machine.
> =A0So, I make a little confusion by myself. I
> comproved, and it work good only on windows
> xp.
Possible to run in Virtual XP session:
http://social.technet.microsoft.com/Forums/en/w7itprovirt/thread/a4e3bb1e-4=
38e-413d-a546-a5b301a0965b
Note also that you were changing the number of "rows and
columns" (SetMode), NOT the size of the font. Try that.
David A. Smith
|
|
0
|
|
|
|
Reply
|
dlzc
|
12/11/2009 2:44:27 AM
|
|
On Dec 10, 6:06=A0pm, reinaldohf <reinald...@gmail.com> wrote:
> But you can try, as here:
>
> // ---------------------------------------------------------------- //
> IF ! SetMode( 60, 132 ) // the most you can get
> =A0 =A0 IF ! SetMode( 50, 132 )
> =A0 =A0 =A0 =A0 IF ! SetMode( 43, 132 )
> =A0 =A0 =A0 =A0 =A0 =A0 IF ! SetMode( 25, 132 )
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IF ! SetMode( 60, 80 )
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IF ! SetMode( 50, 80 )
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 IF ! SetMode( 43, 80 )
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0IF ! SetMode( =
25, 132 )
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0//=
the less you can get
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ENDIF
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ENDIF
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ENDIF
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ENDIF
> =A0 =A0 =A0 =A0 =A0 =A0 ENDIF
> =A0 =A0 =A0 =A0 ENDIF
> =A0 =A0 ENDIF
> ENDIF
> // ---------------------------------------------------------------- //
>
> Reynaldo Henrique
In XP, I set my CMD window property to 158 wide and 60 high and I do
a setmode( maxrow(), maxcol() ) and it fills the window. I'm pretty
sure that xHarbour would go to whatever size I could get the CMD
window.
|
|
0
|
|
|
|
Reply
|
Texextra
|
12/11/2009 5:32:44 PM
|
|
Yes, you can also try this:
Fully maximize Vista Command Prompt window
1.Open an elevated-privilege Command Prompt window,
2.At the Vista Command Prompt, type wmic and press ENTER,
3.Click the Maximize Window button of the Command Prompt window (the
middle button at the upper-right corner) to maximize it,
4.Type exit and press ENTER,
5.Right-click the Vista Command Prompt Title-bar and select Properties
option menu,
6.Without changing anything, click OK button to close the Command
Prompt Properties dialog box,
7.Type exit and press ENTER to close the current Vista Command Prompt.
8.Now, re-open the Vista Command Prompt window again (as in step 1),
it should have automatically and fully maximized to fit your Desktop
resolution! I tested it successfully in Windows Vista Ultimate, and I
suppose this tricks will works on other Windows Vista editions as
well!
You may also manually configure or set the window size of Vista
Command Prompt, via its Properties dialog box, in the Window Size of
Layout tab. Though, that=92s trivial to configure both the width and
height value for different Desktop resolution!
Reynaldo Henrique
|
|
0
|
|
|
|
Reply
|
reinaldohf
|
12/11/2009 11:20:13 PM
|
|
|
8 Replies
424 Views
(page loaded in 0.689 seconds)
|