Solved

CreateIcon(...) ???

Posted on 1999-01-15
1
220 Views
Last Modified: 2008-01-16
This is what the help of VC++ about CreateIcon
HICON CreateIcon(
HINSTANCE hInstance, // handle to application instance
int nWidth, // icon width
int nHeight, // icon height
BYTE cPlanes, // number of planes in XOR bitmask
BYTE cBitsPixel, // number of bits per pixel in XOR bitmask
CONST BYTE *lpbANDbits, // pointer to AND bitmask array
CONST BYTE *lpbXORbits // pointer to XOR bitmask array
);
=================================
I am fine with the first 3 parameter but what is BYTE and CONST BYTE * .... ???

If anyone know how to do it please send sample code for those parameters, dont write me advise because I have spend 1 hour on this problem already. and please dont answer if u not sure about the problem because I run out of points already.

Thanks
0
Comment
Question by:ahTri
1 Comment
 
LVL 23

Accepted Solution

by:
chensu earned 50 total points
ID: 1182317
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now