🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.controls
Article #37

Re: how to use MAKEINTORESOURCE with common controls.

#37
From: Martin Rijnsma
Date: Wed, 18 Mar 1998 00:00
20 lines
1565 bytes
Philip wrote:
> 
> I have a little program that uses the Progress bar.
> 
> Now I initialize the progress bar like so ..
> hProgWnd = CreateWindowEx(0, PROGRESS_CLASS,NULL,WS_CHILD |
> WS_VISIBLE,19,139,238,8,hDlg, (HMENU) 0,hInstance,NULL);
> 
> Now I Know I can position the bar in the resource editor and it thus gets
> an entry in the .rc file.
> 
> But I don't know how to use this entry, I imagine a call to the macro
> MAKEINTORESOURCE but how, where .
> 
  
To initialize the progress bar send it the PBM_SETRANGE and PBM_SETSTEP
messages. To Initiate a 'step' send it the PBM_STEPIT message.

The help text will tell you all about how to use these messages.
Technical Details
Message-ID: <3510133E.5193@worldaccess.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <01bd5219$f8f4e160$83b73ecb@pc-snarkle>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 110a07,a0e1e5ad1a4cb56
X-Google-Attributes: gid110a07,public
X-Google-Thread: 113dfb,a0e1e5ad1a4cb56
X-Google-Attributes: gid113dfb,public
X-Google-Thread: f7033,a0e1e5ad1a4cb56
X-Google-Attributes: gidf7033,public
X-Google-Thread: f801d,a0e1e5ad1a4cb56
X-Google-Attributes: gidf801d,public
From: Martin Rijnsma <M**Rijnsma@worldaccess.nl>
Subject: Re: how to use MAKEINTORESOURCE with common controls.
Date: 1998/03/18
Message-ID: <3510133E.5193@worldaccess.nl>
X-Deja-AN: 335886123
Content-Transfer-Encoding: 7bit
References: <01bd5219$f8f4e160$83b73ecb@pc-snarkle>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Organization: World Access
Newsgroups: comp.os.ms-windows.programmer.controls,comp.os.ms-windows.programmer.win32,comp.windows.ms.programmer,fj.os.ms-windows.programming