🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: de.comp.lang.c++
2 messages
2 total messages Started by Paul Ashford Mon, 21 Aug 1995 16:24
Inactive title bar
#286
Author: Paul Ashford
Date: Mon, 21 Aug 1995 16:24
20 lines
1090 bytes
I have a child dialog box and the title comes up in the in-active 
color. This is because i am calling it with CreateDialogBox with 
creates a modalless box. To change the color of the title box can i 
change the class of mess around with the SetSysColors

Please help!

PS: I am also trying to make a windows shell ( eg sub-set of ProgMan ) 
how do i do this ?

-- 
------------------------------------------------SLP Engineering Ltd, 
Lowestoft, ENGLAND------------------------------------------------

User:  Paul Ashford 	
Email: p.ashford@slpeng.demon.co.uk

Computer Systems Support / Developer

-------------------------------------------------------
Re: Inactive title bar
#293
Author: Michail Brzitwa
Date: Tue, 22 Aug 1995 22:37
42 lines
2275 bytes
In article <116506738wnr@slpeng.demon.co.uk>,
paul@slpeng.demon.co.uk, aka Paul Ashford wrote:
> I have a child dialog box and the title comes up in the in-active
> color. This is because i am calling it with CreateDialogBox with
> creates a modalless box. To change the color of the title box can i
> change the class of mess around with the SetSysColors

Are you using MFC/OWL or the C/SDK way? At least in the latter case it
would be more helpful if you provide some excerpts of your code. I think
something like

   hModelessDialog = CreateDialog(hInstance,"DIALOG",hWndMain,lpfnHandler);
   ShowWindow(hModelessDialog,SW_SHOW); // Modeless dialogs don't normally
                                        // get the WS_VISIBLE style.

   ... code in between

   DestroyWindow(hModelessDialog);

should be working, i.e. the dialog's title bar should be active unless
you go somewhere else. Does it resemble your code? Why did you say 'child
dialog', have you flagged your dialog as a child?

> PS: I am also trying to make a windows shell ( eg sub-set of ProgMan
> ) how do i do this ?

Simply write an application which manages documents and applications,
implement the needed progman DDE-stuff, make it absolutely stable and
there you are. Nowadays OLE and Drag&Drop features should be included
as well, though you'd be better off using MFC or OWL then to handle the
complicated parts.

But remember, the progman approach is obsolete, even for NT in the near
future. If I were you, I would be waiting until I have understood the
new ShellExtensions for the Explorer, and then go for a new shell.

Michail
------------------------------------------------------------------------
Michail Brzitwa              <mb@icem.de>                 +49-511-343215

    GM/CS d?(-+) H---(++) s:+ !g a? w !v C++ U[I]++ P-- E-- N++ W++
            po--- t++ b++ D++ e+(++++) u---(**) f r- n@ y++
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads