The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 GETNBox window is too small

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
malkovich Posted - 08/21/2009 : 05:42:25 AM
Origin Ver. 8G and Service Release SR1 (Select Help-->About Origin):
Operating System: Windows XP

I create a dialog box with the GETN macros but the dialog window generated by GetNBox() is too small. I can not see all controlls I added to the dialog. Can I change the width of the dialog window or configure it that it has the right size automatically?

my code is:


GETN_BOX(tr);   
GETN_STR(importFolder, "Folder to use:", "/");
GETN_BEGIN_BRANCH( choose_comment, "Use which comment?" )
   GETN_RADIO_INDEX(rc, 0, "from data file|write my own" )
   GETN_STR(userComment, "Comment:", "")
   GETN_OPTION_DISPLAY_FORMAT(DISPLAY_EDITOR_LEFT)
GETN_END_BRANCH( choose_comment )

if( !GetNBox(tr, "What do you want?") )
{  
   //...
}


and the dialog window looks like this:

1   L A T E S T    R E P L I E S    (Newest First)
cpyang Posted - 08/21/2009 : 08:52:05 AM
Looks like you need to get a later SR, either SR4 or the latest SR6.
I tried your code in SR6 and found no such issue.

CP

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000