Click here to Skip to main content
16,005,141 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralFile creation and Reading Pin
S Palip18-Apr-05 3:00
S Palip18-Apr-05 3:00 
GeneralRe: File creation and Reading Pin
mark novak18-Apr-05 3:52
mark novak18-Apr-05 3:52 
GeneralRe: File creation and Reading Pin
David Crow18-Apr-05 8:37
David Crow18-Apr-05 8:37 
GeneralLISP Pin
AAntix18-Apr-05 2:03
AAntix18-Apr-05 2:03 
Questionconvert double to ascii and then ascii to string in vc++? Pin
nehathoma18-Apr-05 1:09
nehathoma18-Apr-05 1:09 
AnswerRe: convert double to ascii and then ascii to string in vc++? Pin
David Crow18-Apr-05 2:38
David Crow18-Apr-05 2:38 
GeneralRe: convert double to ascii and then ascii to string in vc++? Pin
nehathoma18-Apr-05 17:45
nehathoma18-Apr-05 17:45 
GeneralListView Scroll Repaint Problem... Pin
usman999_118-Apr-05 0:20
usman999_118-Apr-05 0:20 
Hi*!
I have a listview in my application (basically a simple Win32 overlapped window). I am painting some bitmap as the background of the ListView. For that I subclass the ListView and paint the bitmap and the let the ListView paint the Items, I also paint my custom scroll bar also. Now my problem is when i want to scroll the ListView I send the LVM_SCROLL to the ListView and ListView scrolls but somehow i dont get the WM_PAINT message and background doesnt not get erased & looks messy like some items getting painted over some other items (probably it scrolls the WindowDC not generating the WM_PAINT at all), so I have to call invalidate/update ListCtrl after calling scroll, that makes the window look normal again but for a breif moment i see the window not getting painted properly. How can i avoid this situation??? I have tried using SET_REDRAW TRUE/FALSE but that doesnt help either , I still can see theat mess. My application is Win32 based. I am not using MFC. Any comments/suggestions are most welcome & appreciated....
Thanks for your time,
Regards,
Usman.
GeneralRe: ListView Scroll Repaint Problem... Pin
Jack Puppy18-Apr-05 0:37
Jack Puppy18-Apr-05 0:37 
GeneralRe: ListView Scroll Repaint Problem... Pin
usman999_118-Apr-05 0:41
usman999_118-Apr-05 0:41 
GeneralUnable to load bitmap Pin
Nilesh K.18-Apr-05 0:19
Nilesh K.18-Apr-05 0:19 
GeneralRe: Unable to load bitmap Pin
Jack Puppy18-Apr-05 0:44
Jack Puppy18-Apr-05 0:44 
GeneralRe: Unable to load bitmap Pin
Nilesh K.18-Apr-05 0:53
Nilesh K.18-Apr-05 0:53 
GeneralRe: Unable to load bitmap Pin
usman999_118-Apr-05 0:47
usman999_118-Apr-05 0:47 
GeneralCommand line parameters with MFC Pin
Trollslayer17-Apr-05 23:55
mentorTrollslayer17-Apr-05 23:55 
GeneralRe: Command line parameters with MFC Pin
Arsalan Malik18-Apr-05 0:27
Arsalan Malik18-Apr-05 0:27 
GeneralRe: Command line parameters with MFC Pin
Bleu Canard18-Apr-05 1:03
Bleu Canard18-Apr-05 1:03 
GeneralRe: Command line parameters with MFC Pin
Arsalan Malik18-Apr-05 1:17
Arsalan Malik18-Apr-05 1:17 
GeneralRe: Command line parameters with MFC Pin
Trollslayer18-Apr-05 1:39
mentorTrollslayer18-Apr-05 1:39 
GeneralRe: Command line parameters with MFC Pin
Trollslayer18-Apr-05 1:36
mentorTrollslayer18-Apr-05 1:36 
GeneralRe: Command line parameters with MFC Pin
ThatsAlok18-Apr-05 2:10
ThatsAlok18-Apr-05 2:10 
GeneralConsole Hangs after printf. Pin
Brian van der Beek17-Apr-05 23:29
Brian van der Beek17-Apr-05 23:29 
GeneralRe: Console Hangs after printf. Pin
CodeBeetle18-Apr-05 10:13
CodeBeetle18-Apr-05 10:13 
Questionconvert ascii to char and ascii to string? Pin
nehathoma17-Apr-05 23:13
nehathoma17-Apr-05 23:13 
AnswerRe: convert ascii to char and ascii to string? Pin
Arsalan Malik17-Apr-05 23:58
Arsalan Malik17-Apr-05 23:58 

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.