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
 LabTalk Forum
 size of windows

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
tinkusch Posted - 03/15/2005 : 11:01:59 AM
Origin Version (Select Help-->About Origin): 7.5
Operating System:XP

Hi,
is there a way to change & control the size and position of windows (graph-windows and wks-windows)on the ORIGIN desktop? I want to make shure, that a window pops up every time at the same position and with the same size. Would be fine, if I could freeze the size and the position.
Thanks for any help

Stefan

3   L A T E S T    R E P L I E S    (Newest First)
tinkusch Posted - 03/17/2005 : 02:49:48 AM
Hi,
the code examples in OriginC-help only work with worksheets.
To make it work also with graphs-windows, change the following line
WorksheetPage testWks("MyWorksheet");
to
Page testWks("MyGrWin");

in the OriginC-functions:
void test_MoveWindow()
and
void test_GetWindowRect()


tinkusch Posted - 03/16/2005 : 04:07:34 AM
Hi Mike,

that is what I needed
Thanks!
Stefan

Mike Buess Posted - 03/15/2005 : 7:25:48 PM
Hi Stefan,

That is only possible with Origin C. See GetWindowRect and MoveWindow in the programming guide...

OriginC Language Reference > Classes > User Interface Controls > Window

Mike Buess
Origin WebRing Member

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