?
Solved

Windows API GUI library?

Posted on 2003-03-27
7
Medium Priority
?
426 Views
Last Modified: 2013-12-04
There are tons of Windows add on components for MFC, .NET, ActiveX, etc...  but, I am still a Win32 purist... and am looking for an old fashioned add on static library that implements enhanced GUI components... from masked entry fields, to Outlook style toolbars, docking windows, sliders, etc...  I would be intereste din any type of third party GUI enhancing library... as long as it is not implemented as a DLL, ActiveX, .NET or MFC.

Anyone have nay recommendations?

Thanks,
Jeff
0
Comment
Question by:jeffs1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 49

Expert Comment

by:DanRollins
ID: 8223294
The funny thing is, once you start encapsulating an HWND, or a ListView control, or Slider control, or attempting to automate the message-processing....  You end up with a CWnd, a CListview, a CSlider and BEGIN_MESSAGEMAP ... in other words, you reinvent MFC only with many, many bugs and deficiencies.  MFC has the advantage of having had 1,000,000 programmers work out the kinks over the years.

-- Dan
0
 
LVL 86

Expert Comment

by:jkr
ID: 8224634
Agree with Dan. However, if you are thinking of a portable and free alternative, I'd suggest takin a look at wxWindows: http://www.wxwindows.org/
0
 
LVL 8

Expert Comment

by:fl0yd
ID: 8227696
Being a purist while looking for a general purpose library will eventually turn out to be a contradiction in itself. Have to agree with Dan, go with MFC.

.f
0
Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

 

Author Comment

by:jeffs1
ID: 8227738
Not being an MFC expert by any stretch... here's the problem.

I have a app built using Borland C++ 5.01... if I were to use MFC, is it all or nothing?... i.e. main window is a CWin and put up with the performance hit... or can I use MFC in certain areas without affecting the customized, high performance drawing stuff I have done via API...

I have just heard horror stories of performance in MFC...

Jeff
0
 
LVL 49

Accepted Solution

by:
DanRollins earned 1000 total points
ID: 8227935
Your GDI drawinq does not need to use MFC at all.  In fact, that is one of the beauties of MFC... you can drop down to Win32 -- something that is difficult with the old Borland OWL classes -- because MFC is a much thinner wrapper.  When you look at CWnd members function, the majority are simple inlines that send messages or make API calls, but with one fewer parameter (it sends the HWND for you) and some handy overloaded defaults.

The only performance hits I've seen is when you start in with the document/view stuff (which I mainly avoid).  And even then, most of that is because it is doing a lot of work, and most of that work is during U/I activities where the bottleneck is the user anyway.

-- Dan
0
 
LVL 1

Expert Comment

by:SteveMonaco
ID: 8251230
Hi Jeff, I'm having the same problems as you, but I'm going the lengthy route of learning how to encapsulate components (in win32api) so I can learn the common controls and UI programming well.

For lightweight components, you could try browsing the web for WTL components, based on ATL.  It looks quite nice as long as you're not squeamish of templates and doesn't have the slow bloat of MFC.

There are plenty of WTL UI components here:
http://www.codeproject.com/wtl/

Includes Tabbed MDI Document, dockable toolbars, coolbars, splitter windows, and the like.
0
 
LVL 6

Expert Comment

by:PlanetCpp
ID: 8268734
you can find 3rd party controls all over, on my site (www.PlanetCpp.com) you can download a custom button class that we made. allows you to use bitmaps, conform to the bitmap shape and etc. it's a lib file so once compiled you don't need to send anything over.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question