Q: GUI design for process control

Q: GUI design for process control

Post by Ben Ma » Thu, 21 Mar 1996 04:00:00

Hi there!

We are looking for some basic literature on design of user interfaces
involving multimedia techniques, such as sound, live images, and such
for a process control application we are presently developing.

Any bibliography, FAQ hint, or whatever would greatly be appreciated.




DISAM, Universidad Politecnica de Madrid        Tel. :  ++34-1-336 30 61  
C/ Jose Gutierrez Abascal, 2, E-28006 Madrid    Fax. :  ++34-1-564 29 61


1. Q: Controlling the size of OLE control in container at design time


First, I'm a novice in C++ (only 3 days), so please forgive me!

I think my question is simple, basically I want to control the size of an OLE control at design-time.
The size should be fixed at 420 x 420 twips, my code until now look like this:

void CxxCtrl::OnDraw(CDC* pdc, const CRect& rcBounds, const CRect& rcInvalid)
        // Always hide the window, only handle needed
        if (m_hWnd != NULL)

        CBitmap bitmap;
        BITMAP  bmp;
        CPictureHolder picHolder;
        CRect rcSrcBounds;

        // Make a timer control style at design time
        ((CRect&)rcBounds).buttum = rcBounds.top + 420;
        ((CRect&)rcBounds).right = rcBounds.left + 420;

        // Load control bitmap
        bitmap.GetObject(sizeof(BITMAP), &bmp);
        rcSrcBounds.right = bmp.bmWidth;
        rcSrcBounds.bottom = bmp.bmHeight;

        // Create picture and render
        picHolder.CreateFromBitmap((HBITMAP)bitmap.m_hObject, NULL, FALSE);
        picHolder.Render(pdc, rcBounds, rcSrcBounds);

But this does not work, I can still resize the control at design-time, do you have any suggestions, please notify me

Thanks for the help!

Lars-Henrik Dandanell

2. Router Query

3. MultiMedia GUI Design

4. IE very Slow

5. New GUI design discussion.

6. IIS under win2k

7. GUI Design Standards

8. working on an NT srv/ws a la X-terminal ?

9. GUI design guide

10. Guidelines for GUI design

11. Drawing a GUI for specification design

12. New GUI design discussion.

13. Redirecting a console app's stdout to a GUI parent process