Click here to Skip to main content
15,900,258 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: LoadLibraryW("C:\abc.dll") fails Pin
Code-o-mat14-Mar-12 0:23
Code-o-mat14-Mar-12 0:23 
GeneralRe: LoadLibraryW("C:\abc.dll") fails Pin
V K 214-Mar-12 0:34
V K 214-Mar-12 0:34 
GeneralRe: LoadLibraryW("C:\abc.dll") fails Pin
Code-o-mat14-Mar-12 0:40
Code-o-mat14-Mar-12 0:40 
GeneralRe: LoadLibraryW("C:\abc.dll") fails Pin
Code-o-mat14-Mar-12 0:42
Code-o-mat14-Mar-12 0:42 
AnswerRe: LoadLibraryW("C:\abc.dll") fails Pin
Jochen Arndt14-Mar-12 0:56
professionalJochen Arndt14-Mar-12 0:56 
AnswerRe: LoadLibraryW("C:\abc.dll") fails Pin
Richard MacCutchan14-Mar-12 1:18
mveRichard MacCutchan14-Mar-12 1:18 
AnswerRe: LoadLibraryW("C:\abc.dll") fails Pin
CPallini14-Mar-12 23:06
mveCPallini14-Mar-12 23:06 
QuestionCMFCMaskedEdit class Pin
David Crow13-Mar-12 10:00
David Crow13-Mar-12 10:00 
Has anyone attempted to use this class and call GetWindowTextLength() to see if the control has any user-typed text in it? I often use this approach to know when to enable/disable the OK button on a dialog. If the control just has the mask in it (i.e., no user-typed text), I consider the control to be empty and thus need to disable the OK button. The problem is that GetWindowTextLength() always returns the length of the mask. I can call GetWindowText() in the EN_CHANGE handler and compare the text to the mask but it always seems to be off by one. In other words, if the mask is "___" and I type a number in that control, GetWindowText() will return "___" instead of "2__".

"One man's wage rise is another man's price increase." - Harold Wilson

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons

"Show me a community that obeys the Ten Commandments and I'll show you a less crowded prison system." - Anonymous


AnswerRe: CMFCMaskedEdit class Pin
«_Superman_»13-Mar-12 17:08
professional«_Superman_»13-Mar-12 17:08 
AnswerRe: CMFCMaskedEdit class Pin
Randor 13-Mar-12 17:43
professional Randor 13-Mar-12 17:43 
Questionc++ win32 Listview, File List, show folder and app icon using SHGetFileInfo Pin
jkirkerx13-Mar-12 7:59
professionaljkirkerx13-Mar-12 7:59 
QuestionRe: c++ win32 Listview, File List, show folder and app icon using SHGetFileInfo Pin
enhzflep13-Mar-12 13:35
enhzflep13-Mar-12 13:35 
AnswerRe: c++ win32 Listview, File List, show folder and app icon using SHGetFileInfo Pin
jkirkerx13-Mar-12 16:14
professionaljkirkerx13-Mar-12 16:14 
GeneralRe: c++ win32 Listview, File List, show folder and app icon using SHGetFileInfo Pin
enhzflep13-Mar-12 16:58
enhzflep13-Mar-12 16:58 
JokeRe: c++ win32 Listview, File List, show folder and app icon using SHGetFileInfo Pin
jkirkerx13-Mar-12 17:45
professionaljkirkerx13-Mar-12 17:45 
AnswerWell that took a couple of hours to figure out Pin
jkirkerx14-Mar-12 12:07
professionaljkirkerx14-Mar-12 12:07 
Questionhow to read flash drive type reader? Pin
Le@rner12-Mar-12 23:46
Le@rner12-Mar-12 23:46 
AnswerRe: how to read flash drive type reader? Pin
Richard MacCutchan13-Mar-12 0:47
mveRichard MacCutchan13-Mar-12 0:47 
QuestionRe: how to read flash drive type reader? Pin
David Crow13-Mar-12 3:48
David Crow13-Mar-12 3:48 
Questiondocumentation c++ gui Pin
yahya7712-Mar-12 7:46
yahya7712-Mar-12 7:46 
AnswerRe: documentation c++ gui Pin
Maximilien12-Mar-12 7:59
Maximilien12-Mar-12 7:59 
GeneralRe: documentation c++ gui Pin
yahya7712-Mar-12 8:25
yahya7712-Mar-12 8:25 
AnswerRe: documentation c++ gui Pin
Richard MacCutchan12-Mar-12 8:00
mveRichard MacCutchan12-Mar-12 8:00 
AnswerRe: documentation c++ gui Pin
CPallini12-Mar-12 22:58
mveCPallini12-Mar-12 22:58 
Questiontoolbar not being loaded for dialog dll---extension dll Pin
appollosputnik12-Mar-12 4:09
appollosputnik12-Mar-12 4:09 

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.