Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » Visual Studio.NET error Collapse All
Subject Author Date
Shin DongYoon Aug 8, 2003 - 3:25 AM

hello..

(i bad endlish..sorry)

i make DialogBox.

i contained use for Extbutton in Prof-UIS.

but error..
XXX.h
#include <Extbutton.h>

c:\FrameWork\ProfUIS\Include\extbutton.h(35) : fatal error C1083: ’ExtRichToolTipWnd.h’: No such file or directory

how to use it??

and...

i hope more example...

ex) simple example.(only button or only menu or only tooblar....etc)

Very Good (Prof-UIS)

Sergiy Lavrynenko Aug 8, 2003 - 9:34 AM

Hi,

Please use the only one header in your projects - Prof-UIS.h. The precompiled header file (usually StdAfx.h) is a good place for this line:

#include <Prof-UIS.h>

If your are using Prof-UIS as DLL, your project will have dependency of all the library and there is nothing to optimize in size.
If your are using static LIB - please trust the code linker, it will not include unused code into compiled module.

Best regards, Sergiy.

Shin DongYoon Aug 9, 2003 - 11:56 AM

how create office2003 style button??

please help me..

i don’t use difficult Prof-UIS...

Sergiy Lavrynenko Aug 10, 2003 - 4:25 AM

Hi,

Just use CExtButton class instead of MFC’s CButton class. All the Prof-UIS classes will have a look wich is based on the current paint manager. By default CExtPaintManagerXP is used. You should install CExtPaintManagerOffice2003 during your program initialization:

      g_PaintManager.InstallPaintManager(
            RUNTIME_CLASS(CExtPaintManagerOffice2003)
            );
You can find this code in many samples provided with the library. This may be applied in CYourApp consturctor or InitInstance(). It also can be applied in the constructor of main frame or dialog window, in OnCreate() or OnInitDialog() i.e. before the first window of your program become visible.

Best regards,
Sergiy.