473,395 Members | 1,473 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,395 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 1693
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...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
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...
0
tracyyun
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 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.