473,378 Members | 1,571 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

C to VB: meaning of ":" is structures

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;

Nov 20 '05 #1
6 1690
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;

Nov 20 '05 #2
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;

Nov 20 '05 #3
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.
Nov 20 '05 #4
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.
Nov 20 '05 #5
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 :)

Nov 20 '05 #6
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 :)

Nov 20 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

36
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...
0
by: lezah | last post by:
what is the meaning "latch" in the shared pool and library cache?
18
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...
33
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);
4
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;...
32
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...
0
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,...
37
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...
20
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...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.