Jump to content
WnSoft Forums

Setting position of fixed-size frameless slideshow EXE


hoob

Recommended Posts

I am evaluating PTE7 to meet some short terms slideshow requirements I have for a demo. The requirement I have is to show the slideshow frameless in the top half of a large monitor running in portrait mode (with other interactive content on the lower half.)

My publish target is a fixed-size, frameless EXE slideshow. I cannot find any documented way to reposition its display window (for example, command line parameters and/or creation/output project parameters.)

The EXE slideshows created by PTE seem to be very stubborn about trying to either center themselves on the display, or fill the entire display, when launched. If I attempt to force a location on the TWnForm output window class, the EXE quickly snaps its position back to where it thinks it "should" be (vs. where I want it to be and told it to be.)

Is there any in PTE to accomplish what I need?

Link to comment
Share on other sites

The nearest to your target solution is to have the EXE playing in Windowed mode with a Title Bar and the usual Min,Max,Close buttons. You can set the size of this window in PTE and can then drag and drop it anywhere you want on your desktop. I don't know for sure, but I suspect PTE may try and retain focus in this window. You'll have to check that out.

Project Options...Screen and Slide...Mode...Windowed Mode. If you tick "Without border" you cannot then relocate the window by dragging.

The alternative would be to build the entire presentation in PTE and have your particular sequence run as a Video stream in a Picture-in-Picture object. But that is way more complicated to set up - and your other material may not lend itself to inclusion in a PTE sequence.

Peter

Link to comment
Share on other sites

Tom,

Most third party tools such as Autoit that have window functions should work as long as you are not moving a Full Screen Mode slideshow. Autoit will work with PTE v7.04 in Window Mode with No Border ... but also requires WinWaitActive command before executing the WinMove command. See attachment.

post-45-0-39109500-1332894204_thumb.jpg

Link to comment
Share on other sites

hoob

My publish target is a fixed-size, frameless EXE slideshow. I cannot find any documented way to reposition its display window (for example, command line parameters and/or creation/output project parameters.)

PTE does not offer command line options to resize or move its window display

The EXE slideshows created by PTE seem to be very stubborn about trying to either center themselves on the display, or fill the entire display, when launched. If I attempt to force a location on the TWnForm output window class, the EXE quickly snaps its position back to where it thinks it "should" be (vs. where I want it to be and told it to be.)

Are you also trying to resize and move the window ? Test by just trying to move the window position without any resizing of the PTE window.

Link to comment
Share on other sites

Thanks for the feedback guys... It turns out the PTE display window only dislikes external "size" requests (even if the request is the same as its current display size and would result in no change) but "move" requests are fine.

I am not using AutoIT but something similar (in WIN32, this means adding the SWP_NOSIZE flag to a SetWindowPos() request.) Now as long as I create the PTE as a fixed size windows mode, I can now move the window to the (0,0) position at the top of the monitor.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...