Disable [Dim] Close Button "X"

Topic Specific Tutorials and Tips.

Moderator: Rathinagiri

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

Re: Disable [Dim] Close Button "X"

Post by LOUIS » Fri Sep 19, 2014 3:14 am

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

User avatar
bpd2000
Posts: 1062
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 193 times
Been thanked: 89 times

Post by bpd2000 » Fri Sep 19, 2014 4:48 am

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: 140
Joined: Tue Dec 11, 2012 9:05 pm

Post by LOUIS » Fri Sep 19, 2014 5:39 pm

Hi Mr. BPD

Program always start with ...

#include "HMG.CH"
REQUEST HB_GT_WIN_DEFAULT

FUNCTION MAIN
and so on ...

User avatar
bpd2000
Posts: 1062
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 193 times
Been thanked: 89 times

Post by bpd2000 » Sat Sep 20, 2014 6:16 am

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

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

Post by LOUIS » Sun Sep 21, 2014 2:55 am

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

User avatar
bpd2000
Posts: 1062
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 193 times
Been thanked: 89 times

Post by bpd2000 » Mon Sep 22, 2014 12:52 pm

Find demo as require to Hide, Minimize, restore etc.
Attachments
ConOff_F3.rar
(1.73 KiB) Downloaded 130 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 » Mon Sep 22, 2014 5:21 pm

Gracias bpd2000 por compartir! Útil e interesante!

Saludos :)

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

Post by LOUIS » Tue Sep 23, 2014 4:32 am

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