Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Community » Newbie corner » Frameless(true); bug, my error or ???
Frameless(true); bug, my error or ??? [message #37766] Sun, 11 November 2012 06:00 Go to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Setting Frameless(true); there is a problem.

It not only takes the top off but the right side and bottom.

A few pixels would be fine like it does on the left side but a big chunk from the right and bottom clips the EditFields.

Changing values in dlg.lay or in the .cpp file makes no difference
as far as the clipping amount on the right and bottom.
LeftPosZ(4, 245).TopPosZ(50, 106);
SetRect(4, 50, 247, 105);

Here is with the frame:
http://www.nlneilson.com/wwposts/Frame-OK.jpg

Frameless(true); Or is there a correct way to do it?

index.php?t=getfile&id=3917&private=0

[Updated on: Sun, 11 November 2012 06:21]

Report message to a moderator

Re: Frameless(true); bug, my error or ??? [message #37779 is a reply to message #37766] Mon, 12 November 2012 01:12 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
In 2010 I tinkered with FrameLess and did not have the clipping problem.
http://www.ultimatepp.org/forum/index.php?t=msg&goto=249 19&&srch=FrameLess#msg_24919

There were two problems then. On the task bar it didn't work correctly which seems OK now.
It was not drag able with out the top.
I will just have something like Ctrl+M+arrow keys.
For different computers the location is slightly different.
Clicking a Save>Exit option and:
		leftP = GetRect().left;
		topP = GetRect().top;
		String LeftP = Format("%.0f", leftP);
		String TopP = Format("%.0f", topP);

the location is saved to a .cfg file (along with a dozen other parameters) and only needs to be done once on each computer.

So now it is just a problem with the clipping.

On another computer the right is clipped so much it creates another menu bar and the bottom 2 EditField lines are gone.

index.php?t=getfile&id=3918&private=0


It should be like this without the top bar:
http://www.nlneilson.com/wwposts/Frame-clip-4.png

[Updated on: Mon, 12 November 2012 01:16]

Report message to a moderator

Re: Frameless(true); bug, my error or ??? [message #37780 is a reply to message #37779] Mon, 12 November 2012 06:17 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
I hooked up an external hard drive stuff was saved to.

With upp 2164 the FrameLess(true); works correctly.
Something was changed in the last two years that broke that from working correctly.

index.php?t=getfile&id=3919&private=0
Re: Frameless(true); bug, my error or ??? [message #37833 is a reply to message #37780] Fri, 16 November 2012 08:46 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
While tinkering found out that setting leftP and topP to 0 then the top bar is gone. Otherwise using web.h and compiling with 2164 will work.

For the NASA WWJ java display app using setUndecorated(true);
then I am getting about what is expected.


index.php?t=getfile&id=3922&private=0


Just need to get the upp TopWindow width reduced.
  • Attachment: Option-1.png
    (Size: 339.43KB, Downloaded 298 times)
Re: Frameless(true); bug, my error or ??? [message #37838 is a reply to message #37833] Fri, 16 November 2012 15:01 Go to previous messageGo to next message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
Got it.
The biggest width in SetRect or dlg.lay is used.

index.php?t=getfile&id=3923&private=0

The topP = 0; is at the top of the menu bar and not the frame.

[Updated on: Fri, 16 November 2012 15:16]

Report message to a moderator

Re: Frameless(true); bug, my error or ??? [message #37845 is a reply to message #37838] Sat, 17 November 2012 04:11 Go to previous message
nlneilson is currently offline  nlneilson
Messages: 644
Registered: January 2010
Location: U.S. California. Mojave &...
Contributor
"The topP = 0; is at the top of the menu bar and not the frame."

Not so on Ubuntu.

It seems odd someone else has not run into this.

I will try again with upp 2164 where FrameLess(true); works correctly.

A few other problems also, will just revert back to where I was a few days ago.

[Updated on: Sat, 17 November 2012 04:36]

Report message to a moderator

Previous Topic: dropdown submenu into ToolBar
Next Topic: [SOLVED] WIN32 API "MoveFile" and LineEdit Ctrl issue
Goto Forum:
  


Current Time: Sat Apr 27 15:05:41 CEST 2024

Total time taken to generate the page: 2.02678 seconds