Click here to Skip to main content
16,008,010 members
Home / Discussions / C#
   

C#

 
GeneralRe: Why backspace not run in ToolBand Pin
GISnet3-Jun-04 4:13
GISnet3-Jun-04 4:13 
QuestionUsing FlagsAttribute? Pin
leppie17-Jul-02 23:10
leppie17-Jul-02 23:10 
AnswerRe: Using FlagsAttribute? Pin
Nathan Blomquist18-Jul-02 1:48
Nathan Blomquist18-Jul-02 1:48 
GeneralRe: Using FlagsAttribute? Pin
leppie18-Jul-02 3:35
leppie18-Jul-02 3:35 
AnswerRe: Using FlagsAttribute? Pin
jparsons18-Jul-02 3:59
jparsons18-Jul-02 3:59 
GeneralRe: Using FlagsAttribute? Pin
leppie18-Jul-02 4:18
leppie18-Jul-02 4:18 
GeneralRe: Using FlagsAttribute? Pin
jparsons19-Jul-02 4:42
jparsons19-Jul-02 4:42 
AnswerRe: Using FlagsAttribute? Pin
Eric Gunnerson (msft)18-Jul-02 5:03
Eric Gunnerson (msft)18-Jul-02 5:03 
You can unset by doing:

format = format & (0xFFFFFFFF ^ StringFormat.Bold);

The second expression gives you a vector with every bit set except the bold one, and then when you and that with format, you're assured that it's cleared.

If you have [Flags] on the enum, when you call ToString() on it, you'll get a comma-separated list of the set bits.
GeneralRe: Using FlagsAttribute? Pin
leppie18-Jul-02 6:02
leppie18-Jul-02 6:02 
GeneralPropertyGrid issues... Pin
Vu Truong17-Jul-02 21:24
Vu Truong17-Jul-02 21:24 
GeneralRe: PropertyGrid issues... Pin
leppie17-Jul-02 22:05
leppie17-Jul-02 22:05 
GeneralUsing SendMessage with web pages Pin
Anonymous17-Jul-02 20:20
Anonymous17-Jul-02 20:20 
GeneralRe: Using SendMessage with web pages Pin
Chris Rickard18-Jul-02 3:52
Chris Rickard18-Jul-02 3:52 
GeneralRe: Using SendMessage with web pages Pin
Neophit19-Jul-02 20:04
Neophit19-Jul-02 20:04 
GeneralRe: Using SendMessage with web pages Pin
Chris Rickard22-Jul-02 8:16
Chris Rickard22-Jul-02 8:16 
GeneralDataSource for my ListBox Pin
J. Ehrnström17-Jul-02 15:44
J. Ehrnström17-Jul-02 15:44 
GeneralUpLoading dll's or HttpWebRequest Pin
Orion Buttigieg17-Jul-02 10:25
Orion Buttigieg17-Jul-02 10:25 
GeneralRe: UpLoading dll's or HttpWebRequest Pin
Orion Buttigieg17-Jul-02 10:32
Orion Buttigieg17-Jul-02 10:32 
GeneralProgress Control Pin
Nnamdi Onyeyiri17-Jul-02 9:27
Nnamdi Onyeyiri17-Jul-02 9:27 
GeneralRe: Progress Control Pin
SHaroz18-Jul-02 6:30
SHaroz18-Jul-02 6:30 
GeneralRe: Progress Control Pin
Nnamdi Onyeyiri18-Jul-02 6:33
Nnamdi Onyeyiri18-Jul-02 6:33 
GeneralRe: Progress Control Pin
SHaroz18-Jul-02 6:37
SHaroz18-Jul-02 6:37 
GeneralRe: Progress Control Pin
Nnamdi Onyeyiri18-Jul-02 6:39
Nnamdi Onyeyiri18-Jul-02 6:39 
General.NET ServiceController Pin
Pete Bassett17-Jul-02 5:32
Pete Bassett17-Jul-02 5:32 
GeneralRe: .NET ServiceController Pin
Pete Bassett17-Jul-02 23:16
Pete Bassett17-Jul-02 23:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.