From: combee AT cambridge DOT scr DOT slb DOT com (Leendert Combee) Message-Id: <9609032235.AA03730@cambridge.scr.slb.com> Subject: Can anyone help me? To: djgpp AT delorie DOT com Date: Tue, 3 Sep 1996 23:35:47 +0100 (BST) Cc: combee AT cambridge DOT scr DOT slb DOT com (Leendert Combee) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1662 I am porting a (simple) piece of code that I wrote for libgrx (and also X/Motif) to rsxntdj/djgpp so that I can include a gui + run multiple versions under windows95. It must be really fairly simple but because I have never programmed for windows(95) before I am stuck now (I have a basic framework running). I realize it is slightly off-topic, but maybe someone can point me to on-line resources on windows95 programming/win32 API, or a good reference book that is useful for rsxntdj, or maybe someone can give me some help me out a little (see below for further details). Thanks, Leendert Combee (ps, please reply be email if possible) combee AT cambridge DOT scr DOT slb DOT com /************************************************************************ - I need to set up a rgb colormap - I need to create a pixmaps of certain size - I need to draw points on the pixmap in colors from the colormap - I need to blit the pixmap to the main window (or, part of the main window) - I would like to let my program define te size of the main window and lock it (no resize possible). How do I do this? Partially, I have solved - setting up the main window, - setting up a toolbar - linking a callback to certain keypresses or click on toolbar button However, - How do I get a piece of text in a toolbar-button, how can I change this text dynamically or shade it (make button inactive) - How do I control the color of the toolbar, the color of each button, and the background of the mainwindow Thanks very much for any help or hints!