Click here to Skip to main content
15,921,959 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFinding handles to dialogs Pin
V.30-Apr-04 0:51
professionalV.30-Apr-04 0:51 
GeneralRe: Finding handles to dialogs Pin
mangellj30-Apr-04 3:25
mangellj30-Apr-04 3:25 
GeneralRe: Finding handles to dialogs Pin
V.3-May-04 4:09
professionalV.3-May-04 4:09 
GeneralRe: Finding handles to dialogs Pin
David Crow30-Apr-04 3:30
David Crow30-Apr-04 3:30 
GeneralActive X subclassing Pin
rw10430-Apr-04 0:00
rw10430-Apr-04 0:00 
Generalinterop com client and .net server Pin
mrmgsm29-Apr-04 23:21
mrmgsm29-Apr-04 23:21 
GeneralRe: interop com client and .net server Pin
Mike Dimmick30-Apr-04 2:25
Mike Dimmick30-Apr-04 2:25 
GeneralDLL Help. At the end of my tether! Pin
xsive29-Apr-04 22:59
xsive29-Apr-04 22:59 
GeneralRe: DLL Help. At the end of my tether! Pin
Mike Dimmick30-Apr-04 2:19
Mike Dimmick30-Apr-04 2:19 
GeneralSize of CRichEditCtrl Pin
GermanGeorge29-Apr-04 22:27
GermanGeorge29-Apr-04 22:27 
GeneralRe: Size of CRichEditCtrl Pin
David Crow30-Apr-04 3:40
David Crow30-Apr-04 3:40 
GeneralRe: Size of CRichEditCtrl Pin
GermanGeorge2-May-04 20:00
GermanGeorge2-May-04 20:00 
GeneralFile Association Pin
Monty229-Apr-04 22:19
Monty229-Apr-04 22:19 
GeneralRe: File Association Pin
Monty230-Apr-04 2:41
Monty230-Apr-04 2:41 
GeneralRe: File Association Pin
David Crow30-Apr-04 3:46
David Crow30-Apr-04 3:46 
GeneralRe: File Association Pin
PJ Arends30-Apr-04 4:19
professionalPJ Arends30-Apr-04 4:19 
GeneralRe: File Association Pin
Monty230-Apr-04 18:38
Monty230-Apr-04 18:38 
GeneralDetecting codecs without DirectShow. Pin
haust29-Apr-04 21:47
haust29-Apr-04 21:47 
GeneralRe: Detecting codecs without DirectShow. Pin
Anthony_Yio29-Apr-04 23:11
Anthony_Yio29-Apr-04 23:11 
GeneralRe: Detecting codecs without DirectShow. Pin
Mike Dimmick30-Apr-04 2:40
Mike Dimmick30-Apr-04 2:40 
GeneralFlood fill of all image objects simultaneously Pin
Kolich29-Apr-04 20:45
Kolich29-Apr-04 20:45 
GeneralRe: Flood fill of all image objects simultaneously Pin
John R. Shaw30-Apr-04 10:55
John R. Shaw30-Apr-04 10:55 
GeneralRe: Flood fill of all image objects simultaneously Pin
Kolich4-May-04 19:11
Kolich4-May-04 19:11 
GeneralRe: Flood fill of all image objects simultaneously Pin
John R. Shaw4-May-04 20:52
John R. Shaw4-May-04 20:52 
Well, filling multiple object simultaneously would require a great deal more work and would provide no speed improvement (in fact it would slow the whole process down). Although it would look great, if you actualy were seeing the objects filling.

Now this could be accomplished by using some sort of stepping where you remove the while loop in the quickfill function and have it return whether or not it is finished after each call. This would require some flag to note if it is the first time the function is called or some sort of initialization function that must be call first; in other word it would have to rember it's state. No matter how you approach the problem you are still dealing with multiple objects.

Now as for giving the illustion of them all being filled simultaneously, that should not be to difficult. You simply call quickfill 10 times but do not display the results until after all 10 are filled.

If speed becomes a problem, then modify quickfill to take a CDibData object insted so that one will not need to be created each time quickfill is called. Then copy the result back to the original bitmap, after filling it is complete. This, of cource, assumes that the objects you are refering to are graphic objects that are all located on the same bitmap.

The only advantage you have using quickfill is that you have the code to modify as you see fit. If you are developing for the desktop then the illusion of simultaneously filling can be accomplished as stated above using FloodFill.

I could do what you are attemping, by using one of the methods stated above. Just rember the key is the quickfill function, if you understand that then you can almost ignore the helper functions.

No matter how you slice it someone has to write the function to fill all those objects, and that appears to be you.

Good Luck!

P.S. As for the Opera thing I can only ass-u-me that your machine was busy doing something else.

INTP
GeneralRe: Flood fill of all image objects simultaneously Pin
Kolich4-May-04 22:23
Kolich4-May-04 22:23 

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.