Click here to Skip to main content
15,850,750 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Richard Andrew x644-Apr-22 7:49
professionalRichard Andrew x644-Apr-22 7:49 
GeneralRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Dave Kreskowiak2-Apr-22 5:46
mveDave Kreskowiak2-Apr-22 5:46 
GeneralRe: Can not create object of DirectorySearcher class with Visual C++ with project reference of System.DirectoryServices.dll Pin
Alex Banar2-Apr-22 11:08
Alex Banar2-Apr-22 11:08 
QuestionSwitching a toolbar from Docked to Floating without restarting app? Pin
kittmaster31-Mar-22 12:59
kittmaster31-Mar-22 12:59 
AnswerRe: Switching a toolbar from Docked to Floating without restarting app? Pin
Randor 1-Apr-22 5:26
professional Randor 1-Apr-22 5:26 
GeneralRe: Switching a toolbar from Docked to Floating without restarting app? Pin
kittmaster1-Apr-22 7:06
kittmaster1-Apr-22 7:06 
GeneralRe: Switching a toolbar from Docked to Floating without restarting app? Pin
Randor 1-Apr-22 7:32
professional Randor 1-Apr-22 7:32 
GeneralRe: Switching a toolbar from Docked to Floating without restarting app? Pin
kittmaster1-Apr-22 10:37
kittmaster1-Apr-22 10:37 
I added this line of code after the difference calculation:
C++
AdjustWindowRectEx(&rect, m_wndToolBar.GetStyle(), FALSE, m_wndToolBar.GetExStyle());

It zeroed out the values but the same ghost blocks still remain. I can't find direct access to that variable you mentioned, any code example/tips you could point me to?

Thanks,
Chris
GeneralRe: Switching a toolbar from Docked to Floating without restarting app? Pin
Randor 1-Apr-22 11:13
professional Randor 1-Apr-22 11:13 
GeneralRe: Switching a toolbar from Docked to Floating without restarting app? Pin
kittmaster1-Apr-22 13:34
kittmaster1-Apr-22 13:34 
QuestionMfc Pin
D Sirisha29-Mar-22 7:52
D Sirisha29-Mar-22 7:52 
GeneralRe: Mfc Pin
David Crow29-Mar-22 8:04
David Crow29-Mar-22 8:04 
AnswerRe: Mfc Pin
CPallini29-Mar-22 21:30
mveCPallini29-Mar-22 21:30 
QuestionThere are NN people standing on a line, exactly one of them (we don’t know who) is infected with a virus. The virus spreads from one person to another if their distance is at most 2. If the infected person is chosen optimally, find the minimum (bes Pin
099_Rohan29-Mar-22 5:33
099_Rohan29-Mar-22 5:33 
AnswerRe: There are NN people standing on a line, exactly one of them (we don’t know who) is infected with a virus. The virus spreads from one person to another if their distance is at most 2. If the infected person is chosen optimally, find the minimum Pin
Victor Nijegorodov29-Mar-22 5:55
Victor Nijegorodov29-Mar-22 5:55 
AnswerRe: There are NN people standing on a line, exactly one of them (we don’t know who) is infected with a virus. The virus spreads from one person to another if their distance is at most 2. If the infected person is chosen optimally, find the minimum Pin
jeron129-Mar-22 5:58
jeron129-Mar-22 5:58 
AnswerRe: There are NN people standing on a line, exactly one of them (we don’t know who) is infected with a virus. The virus spreads from one person to another if their distance is at most 2. If the infected person is chosen optimally, find the minimum Pin
Dave Kreskowiak29-Mar-22 6:29
mveDave Kreskowiak29-Mar-22 6:29 
QuestionWhat MS SDK do you use and why? Pin
charlieg28-Mar-22 15:08
charlieg28-Mar-22 15:08 
AnswerRe: What MS SDK do you use and why? Pin
Richard MacCutchan29-Mar-22 2:26
mveRichard MacCutchan29-Mar-22 2:26 
GeneralRe: What MS SDK do you use and why? Pin
charlieg29-Mar-22 3:43
charlieg29-Mar-22 3:43 
QuestionLinked List Cleanup Pin
Calin Negru22-Mar-22 12:03
Calin Negru22-Mar-22 12:03 
AnswerRe: Linked List Cleanup Pin
Greg Utas22-Mar-22 12:26
professionalGreg Utas22-Mar-22 12:26 
GeneralRe: Linked List Cleanup Pin
Calin Negru22-Mar-22 13:30
Calin Negru22-Mar-22 13:30 
GeneralRe: Linked List Cleanup Pin
Greg Utas24-Mar-22 8:19
professionalGreg Utas24-Mar-22 8:19 
GeneralRe: Linked List Cleanup Pin
Calin Negru24-Mar-22 7:04
Calin Negru24-Mar-22 7:04 

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.