BMP picture question - Please help ! 
Author Message
 BMP picture question - Please help !

Greetings, I am writing a graphical routine for a screen saver and need
a little advice. What I would like to do is to draw a bmp picture on
the screen pixel by pixel (in some attractive fashion). This is a Windows
screen saver and would like to be a 256 colour bmp file.

If I put the bitmap on the form as a picture how to I just turn on the
required pixels on at a time ? (this would be the prefered solution as
it would not require an external file).

If I read in an external bmp file how do I set the windows palette and
then plot the pixels ? (I presume this is done my some windows calls?)

Any advice or sample code (VB/Pascal or C would be great) anyone ?

Thanks, Simon




Mon, 20 Jul 1998 03:00:00 GMT  
 BMP picture question - Please help !

(SIMON) says:
Quote:

>Greetings, I am writing a graphical routine for a screen saver and need
>a little advice. What I would like to do is to draw a bmp picture on
>the screen pixel by pixel (in some attractive fashion). This is a Windows
>screen saver and would like to be a 256 colour bmp file.

[snip]

While unfortunately I don't have time to provide a detailed example, may I
refer you to the MSDN disk and the hints and tips articles. In particular,
refer to Tip 45: Using BitBlt to display bitmaps, which explains how to read
in bitmap files in VB as opposed to using LoadBitMap, etc.

Interestingly, I see my own source code in this particular tip; MS obviously
browse through clbv and abstract useful stuff (I posted some of this over a
year ago); kinda weird to see your own code on their disk, though.

Wonder if Chairman Bill also has a private list of all the MS flamers; it'd
be about the size of the LA phone book by now - he's probably got us all on
a SQL Server database <g>



Mon, 20 Jul 1998 03:00:00 GMT  
 BMP picture question - Please help !

Quote:
>Greetings, I am writing a graphical routine for a screen saver and need
>a little advice. What I would like to do is to draw a bmp picture on
>the screen pixel by pixel (in some attractive fashion). This is a Windows
>screen saver and would like to be a 256 colour bmp file.

Hi,
  I would like know how you write a screen saver file which is not exe file.
Because I like to learn it, please send me e-mail to tell me.
  Thanks man!


Tue, 21 Jul 1998 03:00:00 GMT  
 BMP picture question - Please help !

Andrew, you may also want to tell them how to search the MSDN.  I
guess if they subscribe to the MSDN and they didn't find it there then
they need help searching the CD(s).

George


Quote:

>(SIMON) says:

>>Greetings, I am writing a graphical routine for a screen saver and need
>>a little advice. What I would like to do is to draw a bmp picture on
>>the screen pixel by pixel (in some attractive fashion). This is a Windows
>>screen saver and would like to be a 256 colour bmp file.

>[snip]
>While unfortunately I don't have time to provide a detailed example, may I
>refer you to the MSDN disk and the hints and tips articles. In particular,
>refer to Tip 45: Using BitBlt to display bitmaps, which explains how to read
>in bitmap files in VB as opposed to using LoadBitMap, etc.
>Interestingly, I see my own source code in this particular tip; MS obviously
>browse through clbv and abstract useful stuff (I posted some of this over a
>year ago); kinda weird to see your own code on their disk, though.
>Wonder if Chairman Bill also has a private list of all the MS flamers; it'd
>be about the size of the LA phone book by now - he's probably got us all on
>a SQL Server database <g>

===============================================================================
 George R. Torralba              xxxxxxxxxxxx                  Batang Cebu!!!
 Seattle, Washington             206.241.2801              MIME mail accepted
===============================================================================


Wed, 22 Jul 1998 03:00:00 GMT  
 BMP picture question - Please help !

writes:

Quote:

> Hi,
>   I would like know how you write a screen saver file which is not exe file.

That's impossible. A screen saver is an exe file. Look in VBT&T or
VBKB for the code.

 _  _____  _   _

| || (_) || `\| |
| ||  _  || , ` | If they give you lined paper, write the other way!
| || | | || |`\ |
(_)(_) (_)(_) (_) http://www.sn.no/~balchen/igloo/



Mon, 27 Jul 1998 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP, PLEASE HELP,

2. VB question (compact a bmp picture)

3. HELP - Print BMP pictures

4. HELP: Store picture /BMP in Access Database

5. HELP: How to merge 2 .BMP pictures ?

6. HELP capturing off-desktop part of form to bmp/picture control

7. HELP... Scrolling bmp in picture box

8. Can anyone HELP me PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE PLEASE

9. ????? BMP file in Rptimage box (Datareport) VB60 - PLEASE HELP ME

10. BMP file in Rptimage box (Datareport) VB60 - PLEASE HELP ME

11. BMP file in Rprimage box (Datarapport) PLEASE HELP ME

12. ????? BMP file in Rptimage box (Datareport) VB60 - PLEASE HELP ME

 

 
Powered by phpBB® Forum Software