Page 2 of 2

Re: Hide and UnHide DIALOG

Posted: Fri Nov 05, 2010 10:29 am
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

Re: Hide and UnHide DIALOG

Posted: Fri Nov 05, 2010 11:17 am
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..

Re: Hide and UnHide DIALOG

Posted: Fri Nov 05, 2010 11:21 am
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.

Re: Hide and UnHide DIALOG

Posted: Fri Nov 05, 2010 12:01 pm
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