PC Review


Reply
Thread Tools Rate Thread

C to VB: meaning of ":" is structures

 
 
M. Angelo
Guest
Posts: n/a
 
      7th Apr 2004
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;

 
Reply With Quote
 
 
 
 
yEaH rIgHt
Guest
Posts: n/a
 
      8th Apr 2004
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;
>

 
Reply With Quote
 
Tom Shelton
Guest
Posts: n/a
 
      8th Apr 2004
On 2004-04-07, M. Angelo <(E-Mail Removed)> 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.
 
Reply With Quote
 
M. Angelo
Guest
Posts: n/a
 
      9th Apr 2004
Tom Shelton wrote:
> On 2004-04-07, M. Angelo <(E-Mail Removed)> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Meaning of extension ".docx" in MS Word 2007" sheana Microsoft Word New Users 14 1st Apr 2010 04:13 PM
What's meaning of "Office" field in BCM 2007 General Account info? sunorain Microsoft Outlook BCM 0 6th Nov 2008 03:09 PM
meaning of "Windows Color System Defaults" in Vista "Color Managem FredM Windows Vista General Discussion 0 6th Aug 2008 01:15 PM
Outlook 2007 - Some folders have a "hand" icon, meaning? GRakaska Microsoft Outlook Discussion 3 8th Apr 2008 01:16 PM
what is the meaning of "Psychiatric" or "Sycatirc" =?Utf-8?B?c3NpMw==?= Microsoft Word Document Management 3 31st Dec 2006 03:29 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:34 PM.