Disable [Dim] Close Button "X"

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

User avatar
LOUIS
Posts: 202
Joined: Tue Dec 11, 2012 9:05 pm
DBs Used: DBF

Re: Disable [Dim] Close Button "X"

Post 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.
Attachments
SETMODE.JPG
SETMODE.JPG (24.05 KiB) Viewed 5099 times
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Disable [Dim] Close Button "X"

Post 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
BPD
Convert Dream into Reality through HMG
User avatar
LOUIS
Posts: 202
Joined: Tue Dec 11, 2012 9:05 pm
DBs Used: DBF

Re: Disable [Dim] Close Button "X"

Post by LOUIS »

Hi Mr. BPD

Program always start with ...

#include "HMG.CH"
REQUEST HB_GT_WIN_DEFAULT

FUNCTION MAIN
and so on ...
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Disable [Dim] Close Button "X"

Post 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
Attachments
ConOff_F3.rar
(1.45 KiB) Downloaded 306 times
BPD
Convert Dream into Reality through HMG
User avatar
LOUIS
Posts: 202
Joined: Tue Dec 11, 2012 9:05 pm
DBs Used: DBF

Re: Disable [Dim] Close Button "X"

Post 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.
Attachments
HOW.JPG
HOW.JPG (29.09 KiB) Viewed 5042 times
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: Disable [Dim] Close Button "X"

Post by bpd2000 »

Find demo as require to Hide, Minimize, restore etc.
Attachments
ConOff_F3.rar
(1.73 KiB) Downloaded 346 times
BPD
Convert Dream into Reality through HMG
Javier Tovar
Posts: 1275
Joined: Tue Sep 03, 2013 4:22 am
Location: Tecámac, México

Re: Disable [Dim] Close Button "X"

Post by Javier Tovar »

Gracias bpd2000 por compartir! Útil e interesante!

Saludos :)
User avatar
LOUIS
Posts: 202
Joined: Tue Dec 11, 2012 9:05 pm
DBs Used: DBF

Re: Disable [Dim] Close Button "X"

Post 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:
Post Reply