Hide and UnHide DIALOG

This forum is for eXpress++ general support.
Message
Author
User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Hide and UnHide DIALOG

#11 Post by Auge_Ohr »

unixkd wrote:You can download the trial version of this small twain driver software from http://www.akond.net install it and just run it as a standalone program to see fully how the dialog behave so that your can adjust you sample solution more appropriately.
so it is a "external" Dialog.
while it is not a Xbase++ Dialog you have no "controll" over :hide()/:show().

what you need: Handle of "external" Dialog and Handle of "hide/show" Button
use http://www.dennisbabkin.com/php/download.php?what=WinID to find Handle of "external" Parts.

when you have the Handle of the "hide/show" Button you can use SENDMESSAGE() to activate
greetings by OHR
Jimmy

bwolfsohn
Posts: 648
Joined: Thu Jan 28, 2010 7:07 am
Location: Alachua, Florida USA
Contact:

Re: Hide and UnHide DIALOG

#12 Post by bwolfsohn »

Auge_Ohr wrote:
unixkd wrote:You can download the trial version of this small twain driver software from http://www.akond.net install it and just run it as a standalone program to see fully how the dialog behave so that your can adjust you sample solution more appropriately.
so it is a "external" Dialog.
while it is not a Xbase++ Dialog you have no "controll" over :hide()/:show().
Unless i'm reading everything incorrectly..

HE WANTS TO KNOW HOW TO HIDE/SHOW A DIALOG *** LIKE *** THIS in xbase++..

in other words, an xbase++ dialog..
Brian Wolfsohn
Retired and traveling around the country to music festivals in my RV.
OOPS.. Corona Virus, so NOT traveling right now...
http://www.breadmanrises.com
FB travel group: The Breadman Rises

User avatar
unixkd
Posts: 565
Joined: Thu Feb 11, 2010 1:39 pm

Re: Hide and UnHide DIALOG

#13 Post by unixkd »

Hi Roger/Tom

Yes. That is just what I want. But when you click Show setting/ Hide setting button, it is only the tab pages area that get expanded/contracted. That is why I want you to download that very small software and run it to see how the dialog expand/shrink when you click the button. Very nice. I quite appreciate ALL your efforts.

User avatar
Auge_Ohr
Posts: 1407
Joined: Wed Feb 24, 2010 3:44 pm

Re: Hide and UnHide DIALOG

#14 Post by Auge_Ohr »

bwolfsohn wrote:HE WANTS TO KNOW HOW TO HIDE/SHOW A DIALOG *** LIKE *** THIS in xbase++..
in other words, an xbase++ dialog..
ok, sorry ... now i got it

@unixkd : if you have Codejock, look at "Docking Pane"



... are you realy shure if that Twain Dialog is only 1 Dialog ?

you can use 1st Dialog as Owner for 2nd Dialog which Parent is AppDesktop()

Sample : WMP - Player on :DrawingArea of 1st Dialog.
Play "Control" is in 2nd Dialog "attached" to 1st Dialog
now i can :hide() / :show() Play "Control" but it looks like "one" Dialog
greetings by OHR
Jimmy

Post Reply