Home » U++ Library support » U++ Widgets - General questions or Mixed problems » strange looking window
strange looking window [message #9371] |
Wed, 02 May 2007 22:58 |
bitsun
Messages: 12 Registered: March 2007 Location: Germany
|
Promising Member |
|
|
My company has decided to use UPP as the GUI development library. But we still stick to VC2005.
Now I am already able to compile and debug C++ program using UPP in VC2005. The funny thing is that the window I program in VC2005 has a different look than the window created by theIDE.
First I want to confirm one point, the core,ctrlcore,ctrllib,draw,richtext,plugin/bmp,plugin/png,pl ugin/z
are the fundamental libraries, on which all GUI programs are based on, is that right?
I have tried two ways to build upp static libraries.
OK , then I will show how I achieve it.
1, Use the $blitze.obj files created by theIDE, then created win32 project,add all the neccessary object files under the MSC8.Debug_full.Gui directory to the project, then build the project as static library.
2, build the source(i only build the source code in the 7 libraries that i mentioned above) totally with VC2005, without theIDE.
So i have two versions of upp static libraries.
But when I test my first upp program,it compiles and links successfully(with both versions of static libraries), but I got a strange look of the window(in both cases)
It is supposed to look like a window like this :
All the upp windows that I create have dark color and the buttons have no borders at all.
However,if I do not use these static libraries ,but add these object files created by theIDE directly to the my project,then everything is fine. The created windows are normal.
Is there any difference between the static libraries and the objects files. Since I use exactly the same object files to build the static libraries(in the first build method I mentioned above), I guess they should be equivalent.
Anyway static library is a better solution,it would be annoying to add these objects files every time when I create a new project.
Thanks in advance.
Bitsun
-
Attachment: strange.JPG
(Size: 17.87KB, Downloaded 925 times)
|
|
|
|
|
strange looking window
By: bitsun on Wed, 02 May 2007 22:58
|
|
|
Re: strange looking window
By: bitsun on Thu, 03 May 2007 00:44
|
|
|
Re: strange looking window
By: mirek on Thu, 03 May 2007 17:21
|
|
|
Re: strange looking window
By: bitsun on Wed, 16 May 2007 13:05
|
|
|
Re: strange looking window
By: mirek on Thu, 17 May 2007 14:38
|
|
|
Re: strange looking window
By: bitsun on Fri, 18 May 2007 11:36
|
|
|
Re: strange looking window
By: mirek on Sat, 19 May 2007 11:19
|
|
|
Re: strange looking window
By: Novo on Wed, 23 May 2007 21:51
|
|
|
Re: strange looking window
By: mirek on Thu, 24 May 2007 23:14
|
|
|
Re: strange looking window
By: Sc0rch on Sun, 19 July 2009 19:45
|
Goto Forum:
Current Time: Wed May 15 04:42:57 CEST 2024
Total time taken to generate the page: 0.02426 seconds
|