Click here to Skip to main content
16,006,341 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dynamic bitmasks Pin
Christian Graus28-Mar-02 1:18
protectorChristian Graus28-Mar-02 1:18 
GeneralRe: Dynamic bitmasks Pin
alex.barylski28-Mar-02 1:44
alex.barylski28-Mar-02 1:44 
GeneralRe: Dynamic bitmasks Pin
Christian Graus28-Mar-02 9:29
protectorChristian Graus28-Mar-02 9:29 
GeneralRe: Dynamic bitmasks Pin
Tomasz Sowinski28-Mar-02 10:31
Tomasz Sowinski28-Mar-02 10:31 
GeneralRe: Dynamic bitmasks Pin
Christian Graus28-Mar-02 13:26
protectorChristian Graus28-Mar-02 13:26 
GeneralRe: Dynamic bitmasks Pin
Tomasz Sowinski28-Mar-02 1:46
Tomasz Sowinski28-Mar-02 1:46 
GeneralRe: Dynamic bitmasks Pin
alex.barylski28-Mar-02 1:47
alex.barylski28-Mar-02 1:47 
GeneralRe: Dynamic bitmasks Pin
Tomasz Sowinski28-Mar-02 1:58
Tomasz Sowinski28-Mar-02 1:58 
HockeyDude wrote:
There are some assumtions being made, but I think it'll work for me.

FloodFill - slow and won't work when you have background areas surrounded by non-background.

'Replacing each non-background color pixel' - very slow, assuming that you want to iterate over bitmap with GetPixel.

Basically, you need to BitBlt to monochrome bitmap having text color and background color set to appropriate values. I can't give you any more advice on this - trade secrets, you know Smile | :) But I'm sure CG will be happy to provide you with the details.


Tomasz Sowinski -- http://www.shooltz.com

- It's for protection
- Protection from what? Zee Germans?

GeneralRe: Dynamic bitmasks Pin
alex.barylski28-Mar-02 2:21
alex.barylski28-Mar-02 2:21 
GeneralRe: Dynamic bitmasks Pin
Tomasz Sowinski28-Mar-02 5:36
Tomasz Sowinski28-Mar-02 5:36 
GeneralRe: Dynamic bitmasks Pin
Nick Parker28-Mar-02 5:49
protectorNick Parker28-Mar-02 5:49 
GeneralRe: Dynamic bitmasks Pin
alex.barylski28-Mar-02 6:06
alex.barylski28-Mar-02 6:06 
GeneralPreventing Brute Force Pin
Mauricio Ritter28-Mar-02 0:53
Mauricio Ritter28-Mar-02 0:53 
GeneralRe: Preventing Brute Force Pin
alex.barylski28-Mar-02 1:03
alex.barylski28-Mar-02 1:03 
GeneralRe: Preventing Brute Force Pin
Jeremy Falcon28-Mar-02 7:29
professionalJeremy Falcon28-Mar-02 7:29 
GeneralRe: Preventing Brute Force Pin
Nish Nishant28-Mar-02 1:36
sitebuilderNish Nishant28-Mar-02 1:36 
GeneralRe: Preventing Brute Force Pin
Tomasz Sowinski28-Mar-02 1:42
Tomasz Sowinski28-Mar-02 1:42 
GeneralRe: Preventing Brute Force Pin
alex.barylski28-Mar-02 2:16
alex.barylski28-Mar-02 2:16 
GeneralRe: Preventing Brute Force Pin
Tomasz Sowinski28-Mar-02 5:31
Tomasz Sowinski28-Mar-02 5:31 
GeneralRe: Preventing Brute Force Pin
Jon Newman31-Mar-02 11:08
Jon Newman31-Mar-02 11:08 
GeneralRe: Preventing Brute Force Pin
Jon Hulatt28-Mar-02 2:57
Jon Hulatt28-Mar-02 2:57 
GeneralRe: Preventing Brute Force Pin
Jon Newman31-Mar-02 11:07
Jon Newman31-Mar-02 11:07 
GeneralRe: Preventing Brute Force Pin
Chris Losinger28-Mar-02 5:53
professionalChris Losinger28-Mar-02 5:53 
GeneralRe: Preventing Brute Force Pin
Jeremy Falcon28-Mar-02 7:35
professionalJeremy Falcon28-Mar-02 7:35 
GeneralRe: Preventing Brute Force Pin
Chris Losinger28-Mar-02 7:43
professionalChris Losinger28-Mar-02 7:43 

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.