What is the meaning of ":" in this context"
typedef struct tagMENUBARINFO
{
DWORD cbSize;
RECT rcBar; // rect of bar, popup, item
HMENU hMenu; // real menu handle of bar, popup
HWND hwndMenu; // hwnd of item submenu if one
BOOL fBarFocused:1; // bar, popup has the focus <--------------
BOOL fFocused:1; // item has the focus <--------------
} MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO; 6 1698
1 = True
0 = False What is the meaning of ":" in this context"
typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; // rect of bar, popup, item HMENU hMenu; // real menu handle of bar, popup HWND hwndMenu; // hwnd of item submenu if one BOOL fBarFocused:1; // bar, popup has the focus <-------------- BOOL fFocused:1; // item has the focus <-------------- } MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO;
1 = True
0 = False What is the meaning of ":" in this context"
typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; // rect of bar, popup, item HMENU hMenu; // real menu handle of bar, popup HWND hwndMenu; // hwnd of item submenu if one BOOL fBarFocused:1; // bar, popup has the focus <-------------- BOOL fFocused:1; // item has the focus <-------------- } MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO;
On 2004-04-07, M. Angelo <So***@No.One> wrote: What is the meaning of ":" in this context"
typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; // rect of bar, popup, item HMENU hMenu; // real menu handle of bar, popup HWND hwndMenu; // hwnd of item submenu if one BOOL fBarFocused:1; // bar, popup has the focus <-------------- BOOL fFocused:1; // item has the focus <-------------- } MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO;
It means it's a bit field. Here is some information: http://www.harpercollege.edu/bus-ss/...ect13/l13h.htm
--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
BYTE editors are people who separate the wheat from the chaff, and then
carefully print the chaff.
On 2004-04-07, M. Angelo <So***@No.One> wrote: What is the meaning of ":" in this context"
typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; // rect of bar, popup, item HMENU hMenu; // real menu handle of bar, popup HWND hwndMenu; // hwnd of item submenu if one BOOL fBarFocused:1; // bar, popup has the focus <-------------- BOOL fFocused:1; // item has the focus <-------------- } MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO;
It means it's a bit field. Here is some information: http://www.harpercollege.edu/bus-ss/...ect13/l13h.htm
--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
BYTE editors are people who separate the wheat from the chaff, and then
carefully print the chaff.
Tom Shelton wrote: On 2004-04-07, M. Angelo <So***@No.One> wrote:
What is the meaning of ":" in this context"
typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; // rect of bar, popup, item HMENU hMenu; // real menu handle of bar, popup HWND hwndMenu; // hwnd of item submenu if one BOOL fBarFocused:1; // bar, popup has the focus <-------------- BOOL fFocused:1; // item has the focus <-------------- } MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO;
It means it's a bit field. Here is some information:
http://www.harpercollege.edu/bus-ss/...ect13/l13h.htm
Tnaks a lot :)
Tom Shelton wrote: On 2004-04-07, M. Angelo <So***@No.One> wrote:
What is the meaning of ":" in this context"
typedef struct tagMENUBARINFO { DWORD cbSize; RECT rcBar; // rect of bar, popup, item HMENU hMenu; // real menu handle of bar, popup HWND hwndMenu; // hwnd of item submenu if one BOOL fBarFocused:1; // bar, popup has the focus <-------------- BOOL fFocused:1; // item has the focus <-------------- } MENUBARINFO, *PMENUBARINFO, *LPMENUBARINFO;
It means it's a bit field. Here is some information:
http://www.harpercollege.edu/bus-ss/...ect13/l13h.htm
Tnaks a lot :) This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Andrea Griffini |
last post by:
I did it.
I proposed python as the main language for our next CAD/CAM
software because I think that it has all the potential needed
for it. I'm not sure yet if the decision will get through, but...
|
by: lezah |
last post by:
what is the meaning "latch" in the shared pool and library cache?
|
by: DaveLessnau |
last post by:
I'm trying to learn C on my own and, apparently, my brain went on
vacation somewhere. I just can't figure out how to parse the following
function call:
"void fillDeck( Card * const wDeck, const...
|
by: baumann.Pan |
last post by:
hi all,
i want to get the address of buf, which defined as
char buf = "abcde";
so can call
strsep(address of buf, pointer to token);
|
by: Animesh |
last post by:
Hi All,
I don't know whethher this is possible or not. This is the result of a
bad design problem.
Here I go; I have a structure like this:
typedef struct _s_index_entry {
char *doc_id;...
| |
by: James Curran |
last post by:
I'd like to make the following proposal for a new feature for the C#
language. I have no connection with the C# team at Microsoft. I'm posting
it here to gather input to refine it, in an "open...
|
by: M. Angelo |
last post by:
What is the meaning of ":" in this context"
typedef struct tagMENUBARINFO
{
DWORD cbSize;
RECT rcBar; // rect of bar, popup, item
HMENU hMenu; // real menu handle of bar,...
|
by: jht5945 |
last post by:
For example I wrote a function:
function Func()
{
// do something
}
we can call it like:
var obj = new Func(); // call it as a constructor
or
var result = Func(); // call it as...
|
by: Francine.Neary |
last post by:
People seem to have different views as to where the C reserved word
"struct" comes from. One explanation is that it is a shortening of
"structure", and another is that it is an acronym for "single...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |