Page 2 of 2

Re: Disable [Dim] Close Button "X"

Posted: Fri Sep 19, 2014 3:14 am
by LOUIS
Mr. BPD

I'm working in console-gui mode yet, when I go of console to gui I declare setmode(1,1), however this frame is keeping in left corner up !

As well as You can disable the X, could You help us also to hide this box with some sentence as hide or release ?

Thank you very much in advance.

Re: Disable [Dim] Close Button "X"

Posted: Fri Sep 19, 2014 4:48 am
by bpd2000
LOUIS wrote:Mr. BPD
I'm working in console-gui mode yet, when I go of console to gui I declare setmode(1,1), however this frame is keeping in left corner up !
As well as You can disable the X, could You help us also to hide this box with some sentence as hide or release ?
Thank you very much in advance.
Tell me which GT you are using
REQUEST HB_GT_WIN_DEFAULT or
REQUEST HB_GT_WVT_DEFAULT or any other, because there are different code

Re: Disable [Dim] Close Button "X"

Posted: Fri Sep 19, 2014 5:39 pm
by LOUIS
Hi Mr. BPD

Program always start with ...

#include "HMG.CH"
REQUEST HB_GT_WIN_DEFAULT

FUNCTION MAIN
and so on ...

Re: Disable [Dim] Close Button "X"

Posted: Sat Sep 20, 2014 6:16 am
by bpd2000
LOUIS wrote:Hi Mr. BPD

Program always start with ...

#include "HMG.CH"
REQUEST HB_GT_WIN_DEFAULT

FUNCTION MAIN
and so on ...
Solved
Enjoy

Re: Disable [Dim] Close Button "X"

Posted: Sun Sep 21, 2014 2:55 am
by LOUIS
Hi Mr. BPD

Your example is ok, but the frame is keeping for setmode(1,1) :|
What is sought is that the box (console mode 1,1) disappears or becomes invisible when I go to gui mode 8-)
If this is not possible, then be automatically minimized :?:

Thanks in advance.

Re: Disable [Dim] Close Button "X"

Posted: Mon Sep 22, 2014 12:52 pm
by bpd2000
Find demo as require to Hide, Minimize, restore etc.

Re: Disable [Dim] Close Button "X"

Posted: Mon Sep 22, 2014 5:21 pm
by Javier Tovar
Gracias bpd2000 por compartir! Útil e interesante!

Saludos :)

Re: Disable [Dim] Close Button "X"

Posted: Tue Sep 23, 2014 4:32 am
by LOUIS
HI MR. BPD

That was fantastic !!!
Without the frame of setmode, the program is super cool 8-)

You are so great ... thanks for share ...

VIVA H.M.G. & ROBERTO LOPEZ :mrgreen: