Click here to Skip to main content
15,885,278 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Read file types for all files in a specified directory Pin
David Crow15-Oct-03 9:07
David Crow15-Oct-03 9:07 
GeneralRe: Read file types for all files in a specified directory Pin
hkl15-Oct-03 10:39
hkl15-Oct-03 10:39 
GeneralRe: Read file types for all files in a specified directory Pin
algol15-Oct-03 19:50
algol15-Oct-03 19:50 
GeneralListView Virtual style problem Pin
Modar15-Oct-03 7:09
Modar15-Oct-03 7:09 
GeneralRe: ListView Virtual style problem Pin
David Crow15-Oct-03 8:03
David Crow15-Oct-03 8:03 
GeneralStop Internet access in local network Pin
Mourad DEBBAH15-Oct-03 6:18
Mourad DEBBAH15-Oct-03 6:18 
GeneralRe: Stop Internet access in local network Pin
parths15-Oct-03 18:51
parths15-Oct-03 18:51 
GeneralTabCtrl_DeleteAllItems + WM_NOTIFY Pin
Mike Doner15-Oct-03 6:08
Mike Doner15-Oct-03 6:08 
I'm doing some work in some old Win32 code, and I'm working with a dialog that has a tree control and a list control. When I receive a WM_NOTIFY telling me that the selection of the tree has changed, I repopulate the list control with the data that pertains to the selected item.

A problem I'm noticing is that when I repopulate my tree control (when an item is added/removed), I delete all the items and re-populate from scratch, when I call TabCtrl_DeleteAllItems, I'm getting X number of WM_NOTIFY messages telling me the selection has changed. It just makes for a mess on the UI, the list is going nuts... I've encapsulated my population code with LockWindowUpdate(), makes a bit of a difference.

What do you guys recommend? ... A kludgy way would be to have a flag to ignore the WM_NOITFY/SEL_CHANGE msgs when I'm adding/deleting items..

Thoughts?

Mike.
GeneralRe: TabCtrl_DeleteAllItems + WM_NOTIFY Pin
Michael Dunn15-Oct-03 6:42
sitebuilderMichael Dunn15-Oct-03 6:42 
Questionwhat is unicode subset? Pin
Alice8015-Oct-03 6:01
Alice8015-Oct-03 6:01 
AnswerRe: what is unicode subset? Pin
Uwe Keim15-Oct-03 19:43
sitebuilderUwe Keim15-Oct-03 19:43 
GeneralImport Stored Procedure through Code Pin
Richard Hudson15-Oct-03 5:22
Richard Hudson15-Oct-03 5:22 
GeneralButtons in a Form View Pin
swerajan15-Oct-03 5:11
swerajan15-Oct-03 5:11 
GeneralRe: Buttons in a Form View Pin
David Crow15-Oct-03 5:36
David Crow15-Oct-03 5:36 
GeneralLatest SDK Pin
thowra15-Oct-03 4:57
thowra15-Oct-03 4:57 
GeneralRe: Latest SDK Pin
David Crow15-Oct-03 5:34
David Crow15-Oct-03 5:34 
GeneralRe: Latest SDK Pin
Michael P Butler15-Oct-03 5:40
Michael P Butler15-Oct-03 5:40 
GeneralRe: Latest SDK Pin
Michael P Butler15-Oct-03 6:06
Michael P Butler15-Oct-03 6:06 
GeneralRe: Latest SDK Pin
thowra15-Oct-03 8:02
thowra15-Oct-03 8:02 
GeneralHashtable Pin
Jajco15-Oct-03 4:47
Jajco15-Oct-03 4:47 
GeneralLosing GDis Pin
alvaro15-Oct-03 4:15
alvaro15-Oct-03 4:15 
QuestionGUID is undefined ??? Pin
Saurabh_Delhi15-Oct-03 4:09
Saurabh_Delhi15-Oct-03 4:09 
GeneralTWAIN Pin
amiolcosta15-Oct-03 3:38
amiolcosta15-Oct-03 3:38 
GeneralTCP help Pin
NewHSKid15-Oct-03 3:11
NewHSKid15-Oct-03 3:11 
GeneralRe: TCP help Pin
Jesus Oliva15-Oct-03 5:33
Jesus Oliva15-Oct-03 5:33 

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.