Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: SPECIAL OFFER: EZGUI Classic (4.0) until May 31, 2013 only $29 !
TO REGISTER on Forum, contact tech support:
http://cwsof.com/support.html
Computer Workshop
>
Computer Workshop Software User Forums
>
EZGUI Extra - Linux, Handcoding, etc.
>
some Wine/Windows differences
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: some Wine/Windows differences (Read 542 times)
Rod Gobby
Full Member
Posts: 128
some Wine/Windows differences
«
on:
July 05, 2011, 08:25:01 AM »
Chris
We're in the process of changing the structure of our packages from an MDI style to a Splitterbar style. Most of the changes apply to the main form, and so far everything has been going well. However, we recently encountered a couple of minor problems.
The first involves the Splitterbar itself. On Windows, the bar is coloured pale blue, but using Wine the bar is grey and the ">" image is very small and hardly noticeable. We've tried changing the colour of the bar so that it's the same for both Wine and Windows, but this doesn't seem possible. It would be nice to be able to change the colour of the Splitterbar so that it's the same colour for both Wine and Windows.
The second problem involves the "F" property on Page forms. On Windows we get a frame around the Page form as expected, but with Wine there is no frame. The Frame and Shape controls work ok, so we're currently using a Shape control to produce the frame. This adds many extra controls to our programs, since we make extensive use of Page forms with our new Splitterbar format.
These aren't major problems, but if there's any way for you to get around the problems it would be appreciated. So far, EZGUI has been working extremely well with Wine.
Thanks
Rod
Logged
Chris Boss
Administrator
Hero Member
Posts: 1814
Re: some Wine/Windows differences
«
Reply #1 on:
July 05, 2011, 09:45:40 AM »
The splitterbar control is actually allows you to custom draw it.
The control sends the %EZ_EraseSP event (which is similiar to %EZ_EraseBG). You can use the EZ_StartEraseBG and EZ_EndEraseBG command (and any DC drawing commands in between) to custom draw the splitterbar control.
This will allow you to draw exactly the same thing on Windows and Wine.
I would suggest using a 3D Gradient.
Logged
Chris Boss
Administrator
Hero Member
Posts: 1814
Re: some Wine/Windows differences
«
Reply #2 on:
July 05, 2011, 09:47:50 AM »
You can also try the S (sunken edge) property instead of the F (flat border) property for your page forms. That may work on both Windows and Wine.
If not, then you can custom draw the Page form background. Don't use the F property and then process the forms %EZ_EraseBG event and draw the background with any border you like.
Logged
Rod Gobby
Full Member
Posts: 128
Re: some Wine/Windows differences
«
Reply #3 on:
July 05, 2011, 10:21:36 AM »
The S property works fine with Wine, but I've been using flat borders since Visual Basic and would prefer to continue using them. Also, the default on Ubuntu is to use flat borders.
I've never used the custom draw features, but this looks like a good time to start. And since EZGUI works well with Wine, custom drawing might be the way to get around any future differences I encounter.
Thanks for the suggestion.
Rod
Logged
Pages: [
1
]
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Announcements
-----------------------------
=> General Announcements
=> What is EZGUI 5.0 Professional all about ?
=> Bug Reports
=> Legacy version: What is EZGUI 4.0 Pro all about ?
-----------------------------
Teach me EZGUI !
-----------------------------
=> Todays Tip on using EZGUI 4.0 (and 5.0)
=> Todays Tip on using EZGUI 5.0
=> Tips Feedback forum
=> EZGUI Source Code forum
-----------------------------
Computer Workshop Software User Forums
-----------------------------
=> Beginners Tutorials for EZGUI Pro/Personal
=> EZGUI Professional General Questions
=> EZGUI 5.0 Getting Started
=> EZGUI 5.0 Graphics
=> EZGUI 5.0 3D Graphics
=> EZGUI 5.0 Custom Control Design
=> EZGUI 5.0 Component Design
=> EZGUI 5.0 SuperClassing Design
=> EZGUI Extra - Linux, Handcoding, etc.
===> Wine Tested Commands
=> EZGUI Utility Dialog Designer
=> EZSprite
=> Other Software
-----------------------------
Programming
-----------------------------
=> PowerBasic for Windows (DDT and SDK)
=> Windows API
=> Source Code
=> Windows (and DDT) Tutorials
-----------------------------
Third Party Software
-----------------------------
=> Third Party Software
-----------------------------
Research and Development
-----------------------------
=> Touch User Interface Design
=> Windows 8 and Metro Application Development
=> EZGUI Update Discussion Forum
=> EZGUI 4.x fixes and wish list
=> EZGUI 5.0 wish list
-----------------------------
Customer Feedback
-----------------------------
=> Customer Feedback
=> Customer Surveys (Polls)
Loading...