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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 size of windows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

tinkusch

Germany
94 Posts

Posted - 03/15/2005 :  11:01:59 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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

Mike Buess

USA
3037 Posts

Posted - 03/15/2005 :  7:25:48 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

tinkusch

Germany
94 Posts

Posted - 03/16/2005 :  04:07:34 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Mike,

that is what I needed
Thanks!
Stefan

Go to Top of Page

tinkusch

Germany
94 Posts

Posted - 03/17/2005 :  02:49:48 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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()


Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000