| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | Re: hpsMemory Bitmap questions |
-=> Quoting Michael Duffy to All on hpsMemory Bitmap questions <=-
MD> I have a bitmap created in memory which I copy to my Window's
MD> presentation space during the WM_PAINT message. No problem there. My
MD> problem is that I'm wanting to write directly to the surface of this
MD> bitmap. It is created using the GpiCreateBitmap() procedure, but I
MD> don't know how to obtain a pointer to the bitmap memory.
If you set the bitmap into a PS (PS must be associated with a memory DC)
GpiSetBitmap(hpsMemory,hbm);
Then any drawing done to that PS, using GPI calls would draw onto the bitmap.
Justin Cooksey
... Windows: Brought to you by the makers of EDLIN!
--- Blue Wave/Max v2.12 OS/2 [NR]
* Origin: Hunter Connection OS/2 BBS 24hrs (049) 63-4490 (3:622/403)SEEN-BY: 12/2442 54/54 620/243 622/402 403 407 409 410 419 421 422 623/630 SEEN-BY: 624/50 632/339 348 640/715 820 670/215 690/347 660 700/31 711/409 SEEN-BY: 711/410 413 430 807 808 809 934 942 949 712/353 623 713/888 772/20 SEEN-BY: 800/1 @PATH: 622/403 407 712/353 711/409 54/54 711/808 809 934 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.