473,508 Members | 2,143 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 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;

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
6322
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
3454
by: lezah | last post by:
what is the meaning "latch" in the shared pool and library cache?
18
2205
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
3118
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
2845
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
4094
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
231
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
3894
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
1819
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
7124
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...
0
7385
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
7498
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...
1
5053
isladogs
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...
0
4707
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...
0
3195
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...
0
3182
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1558
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 ...
1
766
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.