Disable [Dim] Close Button "X"

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

LOUIS
Posts: 144
Joined: Tue Dec 11, 2012 9:05 pm

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 2580 times

User avatar
bpd2000
Posts: 1149
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 247 times
Been thanked: 140 times

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

LOUIS
Posts: 144
Joined: Tue Dec 11, 2012 9:05 pm

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: 1149
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 247 times
Been thanked: 140 times

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 146 times
BPD
Convert Dream into Reality through HMG

LOUIS
Posts: 144
Joined: Tue Dec 11, 2012 9:05 pm

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 2523 times

User avatar
bpd2000
Posts: 1149
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 247 times
Been thanked: 140 times

Post by bpd2000 »

Find demo as require to Hide, Minimize, restore etc.
Attachments
ConOff_F3.rar
(1.73 KiB) Downloaded 189 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
Has thanked: 1 time
Been thanked: 2 times

Post by Javier Tovar »

Gracias bpd2000 por compartir! Útil e interesante!

Saludos :)

LOUIS
Posts: 144
Joined: Tue Dec 11, 2012 9:05 pm

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