Click here to Skip to main content
16,016,537 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: pocket pc & systeminformation Pin
dasweasel25-Feb-03 0:02
dasweasel25-Feb-03 0:02 
GeneralPocket PC Emulator for Win98 Pin
Anonymous24-Feb-03 5:08
Anonymous24-Feb-03 5:08 
GeneralRe: Pocket PC Emulator for Win98 Pin
João Paulo Figueira24-Feb-03 5:20
professionalJoão Paulo Figueira24-Feb-03 5:20 
GeneralTrasparent CBrush Pin
\SOLMAN24-Feb-03 3:47
\SOLMAN24-Feb-03 3:47 
GeneralRe: Trasparent CBrush Pin
João Paulo Figueira24-Feb-03 4:06
professionalJoão Paulo Figueira24-Feb-03 4:06 
GeneralRe: Trasparent CBrush Pin
\SOLMAN24-Feb-03 4:13
\SOLMAN24-Feb-03 4:13 
GeneralRe: Trasparent CBrush Pin
João Paulo Figueira24-Feb-03 4:24
professionalJoão Paulo Figueira24-Feb-03 4:24 
GeneralRe: Trasparent CBrush Pin
\SOLMAN24-Feb-03 22:57
\SOLMAN24-Feb-03 22:57 
All right. Let me tell you what tried so far.

I want to draw a bitmap on the screen of the device and mark an area in the bitmap. Let's say the user loads an image with a building in the front and some surrounding things. And now I draw a polygon with the shape of the building. But I like the building to stay visible. I thought of a polygon with a transparent hatched filling. In this way the area is marked but I can still see the background.

I looked in the MS help for the LOGBRUSH structure. They write of many brush styles. e.g. BS_HATCHED but when I use this define the error message "error C2065: 'BS_HATCHED' : undeclared identifier" is displayed while compiling. So I looked into WINGDI.h and found only the following brush styles

#define BS_SOLID 0
#define BS_NULL 1
#define BS_HOLLOW BS_NULL
#define BS_DIBPATTERNPT 6

The only way to create a transparent hatched brush is to work with BS_DIBPATTERNPT but there is the next problem. How can I create a transparent DIB. I'm relativly new to Windows progamming.


Greetings
\SOLMAN
GeneralRe: Trasparent CBrush Pin
João Paulo Figueira25-Feb-03 0:59
professionalJoão Paulo Figueira25-Feb-03 0:59 
GeneralBeginner with eVC++ Pin
jakethefake21-Feb-03 8:45
jakethefake21-Feb-03 8:45 
GeneralRe: Beginner with eVC++ Pin
TigerNinja_21-Feb-03 11:33
TigerNinja_21-Feb-03 11:33 
GeneralPlaying MP3 files in app developed with eVC++ Pin
Anonymous20-Feb-03 13:37
Anonymous20-Feb-03 13:37 
GeneralRe: Playing MP3 files in app developed with eVC++ Pin
TigerNinja_21-Feb-03 8:33
TigerNinja_21-Feb-03 8:33 
GeneralRe: Playing MP3 files in app developed with eVC++ Pin
Anonymous23-Feb-03 13:44
Anonymous23-Feb-03 13:44 
GeneralRe: Playing MP3 files in app developed with eVC++ Pin
TigerNinja_23-Feb-03 17:14
TigerNinja_23-Feb-03 17:14 
GeneralRe: Playing MP3 files in app developed with eVC++ Pin
Anonymous24-Feb-03 5:06
Anonymous24-Feb-03 5:06 
QuestionTargeting instruction set ARM* v.5TE ? Pin
TigerNinja_19-Feb-03 8:34
TigerNinja_19-Feb-03 8:34 
AnswerRe: Targeting instruction set ARM* v.5TE ? Pin
João Paulo Figueira20-Feb-03 1:18
professionalJoão Paulo Figueira20-Feb-03 1:18 
QuestionWhere to download the add-in wizards for eVC++? Pin
TigerNinja_19-Feb-03 7:01
TigerNinja_19-Feb-03 7:01 
AnswerRe: Where to download the add-in wizards for eVC++? Pin
TigerNinja_19-Feb-03 7:08
TigerNinja_19-Feb-03 7:08 
AnswerRe: Where to download the add-in wizards for eVC++? Pin
João Paulo Figueira20-Feb-03 1:12
professionalJoão Paulo Figueira20-Feb-03 1:12 
GeneralRe: Where to download the add-in wizards for eVC++? Pin
TigerNinja_20-Feb-03 3:15
TigerNinja_20-Feb-03 3:15 
GeneralRe: Where to download the add-in wizards for eVC++? Pin
João Paulo Figueira20-Feb-03 11:11
professionalJoão Paulo Figueira20-Feb-03 11:11 
GeneralRe: Where to download the add-in wizards for eVC++? Pin
TigerNinja_20-Feb-03 13:02
TigerNinja_20-Feb-03 13:02 
GeneralRe: Where to download the add-in wizards for eVC++? Pin
João Paulo Figueira20-Feb-03 21:58
professionalJoão Paulo Figueira20-Feb-03 21:58 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.