Click here to Skip to main content
16,004,833 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Get Application Path Pin
ThatsAlok19-Jan-06 23:01
ThatsAlok19-Jan-06 23:01 
Questionwhat does "close wait" and "fin_wait2" means? Pin
awah18-Jul-05 1:14
awah18-Jul-05 1:14 
Generalspinner control makes dots in number within edit box Pin
T.T.H.18-Jul-05 0:48
T.T.H.18-Jul-05 0:48 
GeneralRe: spinner control makes dots in number within edit box Pin
Jose Lamas Rios18-Jul-05 2:44
Jose Lamas Rios18-Jul-05 2:44 
GeneralRe: spinner control makes dots in number within edit box Pin
David Crow18-Jul-05 2:45
David Crow18-Jul-05 2:45 
Generalthanks! Pin
T.T.H.18-Jul-05 23:44
T.T.H.18-Jul-05 23:44 
GeneralMFC, COM and RTC API Pin
TheVictorious18-Jul-05 0:14
TheVictorious18-Jul-05 0:14 
GeneralCImage filling Pin
Themis17-Jul-05 23:41
Themis17-Jul-05 23:41 
Hi there,

I'm trying to use a CImage in order to display some images in a window. I can easily load an image with Load() method, but what I want now is to create a (w x h) image (easy) and fill it with a color. How can I do this? I tried to use the following:
<br />
for (int x=0; x < width; ++x)<br />
  for (int y=0; y < height; ++y)<br />
     img.SetPixel(x,y,RGB(...));<br />


But of course, as I expected, it takes quite a few seconds to fill the image. Is there any faster way?

Thanks,
Themis
GeneralRe: CImage filling Pin
Christian Graus18-Jul-05 0:17
protectorChristian Graus18-Jul-05 0:17 
GeneralRe: CImage filling Pin
Themis18-Jul-05 0:59
Themis18-Jul-05 0:59 
Generalcolumn/bar chart Pin
Marc Soleda17-Jul-05 23:16
Marc Soleda17-Jul-05 23:16 
GeneralClarification regarding memory management in multi thread Pin
Ravi Sankar S17-Jul-05 23:10
Ravi Sankar S17-Jul-05 23:10 
GeneralRe: Clarification regarding memory management in multi thread Pin
David Crow18-Jul-05 2:47
David Crow18-Jul-05 2:47 
GeneralProblem with BitBlt Function --help Pin
Raza568017-Jul-05 22:18
Raza568017-Jul-05 22:18 
GeneralRe: Problem with BitBlt Function --help Pin
Christian Graus18-Jul-05 0:23
protectorChristian Graus18-Jul-05 0:23 
GeneralRe: Problem with BitBlt Function --help Pin
Jose Lamas Rios18-Jul-05 2:56
Jose Lamas Rios18-Jul-05 2:56 
GeneralDisable ShareViolet Checking Pin
Abd.Eskandari17-Jul-05 21:24
Abd.Eskandari17-Jul-05 21:24 
GeneralRe: Disable ShareViolet Checking Pin
David Crow18-Jul-05 2:51
David Crow18-Jul-05 2:51 
GeneralFullScreen Dialog Pin
Abd.Eskandari17-Jul-05 21:16
Abd.Eskandari17-Jul-05 21:16 
GeneralRe: FullScreen Dialog Pin
khan++17-Jul-05 22:55
khan++17-Jul-05 22:55 
GeneralPath Pin
dittygrail17-Jul-05 20:13
dittygrail17-Jul-05 20:13 
GeneralRe: Path--use &quot;GetCurrentDirectory&quot; Pin
Anonymous17-Jul-05 21:04
Anonymous17-Jul-05 21:04 
GeneralMost simplest way for CButton and background color Pin
xcavin17-Jul-05 19:57
xcavin17-Jul-05 19:57 
GeneralRe: Most simplest way for CButton and background color Pin
Trollslayer18-Jul-05 1:37
mentorTrollslayer18-Jul-05 1:37 
GeneralRe: Most simplest way for CButton and background color Pin
Aamir Butt18-Jul-05 2:18
Aamir Butt18-Jul-05 2:18 

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.