Solved

CreateIcon(...) ???

Posted on 1999-01-15
1
254 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Written by John Humphreys C++ Threading and the POSIX Library This article will cover the basic information that you need to know in order to make use of the POSIX threading library available for C and C++ on UNIX and most Linux systems.   [s…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.

761 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