Click here to Skip to main content
15,896,111 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Removing ToolBar & Menu Pin
Brian V Shifrin2-Jan-02 0:41
Brian V Shifrin2-Jan-02 0:41 
GeneralRe: Removing ToolBar & Menu Pin
2-Jan-02 1:06
suss2-Jan-02 1:06 
GeneralRe: Removing ToolBar & Menu Pin
Philip Patrick2-Jan-02 0:48
professionalPhilip Patrick2-Jan-02 0:48 
GeneralProblem with CListCtrl Pin
Paresh Solanki2-Jan-02 0:01
Paresh Solanki2-Jan-02 0:01 
GeneralRe: Problem with CListCtrl Pin
Philip Patrick2-Jan-02 0:31
professionalPhilip Patrick2-Jan-02 0:31 
GeneralRe: Problem with CListCtrl Pin
Paresh Solanki2-Jan-02 1:51
Paresh Solanki2-Jan-02 1:51 
GeneralRe: Problem with CListCtrl Pin
Philip Patrick2-Jan-02 1:58
professionalPhilip Patrick2-Jan-02 1:58 
GeneralWindow activation in XP Pin
56789012341-Jan-02 23:01
56789012341-Jan-02 23:01 
I am using fragments of code from Microsoft OneInstance sample. When application starts and it founds other instance window, it activates it using next code:

pWndPrev = CWnd::FindWindow(lpszUniqueClass,NULL);
if ( pWndPrev )
{
   pWndChild = pWndPrev->GetLastActivePopup();
            
   if (pWndPrev->IsIconic()) 
       pWndPrev->ShowWindow(SW_RESTORE);      // doesn't work in XP
            
   pWndChild->SetForegroundWindow();          // doesn't work in XP
}


In Windows XP, if pWndPrev is minimized, it is not restored. This code works fine in all previous Windows versions. What changes should be done in this code to work properly in XP ?
GeneralRe: Window activation in XP Pin
2-Jan-02 5:47
suss2-Jan-02 5:47 
GeneralRe: Window activation in XP Pin
Ravi Bhavnani2-Jan-02 6:28
professionalRavi Bhavnani2-Jan-02 6:28 
GeneralPreventing unauthorised access to an ISAPI extension Pin
divbanjoe1-Jan-02 23:01
divbanjoe1-Jan-02 23:01 
GeneralRe: Preventing unauthorised access to an ISAPI extension Pin
Derek Waters2-Jan-02 11:13
Derek Waters2-Jan-02 11:13 
GeneralRe: Preventing unauthorised access to an ISAPI extension Pin
divbanjoe2-Jan-02 18:22
divbanjoe2-Jan-02 18:22 
GeneralRe: Preventing unauthorised access to an ISAPI extension Pin
Derek Waters2-Jan-02 18:31
Derek Waters2-Jan-02 18:31 
GeneralGetDeviceCaps and Printer Pin
Braulio Dez1-Jan-02 22:44
Braulio Dez1-Jan-02 22:44 
GeneralRe: GetDeviceCaps and Printer Pin
Ernest Laurentin2-Jan-02 4:25
Ernest Laurentin2-Jan-02 4:25 
GeneralTrying to rotate 90º EMF Pin
Braulio Dez1-Jan-02 20:58
Braulio Dez1-Jan-02 20:58 
QuestionIn eVC how to make FullScreen in PocketPC ? Pin
subang1-Jan-02 20:51
subang1-Jan-02 20:51 
AnswerRe: In eVC how to make FullScreen in PocketPC ? Pin
NormDroid1-Jan-02 21:15
professionalNormDroid1-Jan-02 21:15 
GeneralMaking an Image Transparent Pin
clemence1-Jan-02 19:52
clemence1-Jan-02 19:52 
GeneralRe: Making an Image Transparent Pin
Christian Graus2-Jan-02 0:19
protectorChristian Graus2-Jan-02 0:19 
GeneralOwner drawn button flicker hell Pin
Christian Graus1-Jan-02 18:19
protectorChristian Graus1-Jan-02 18:19 
GeneralRe: Owner drawn button flicker hell Pin
Rick Dangerous2-Jan-02 0:30
Rick Dangerous2-Jan-02 0:30 
GeneralRe: Owner drawn button flicker hell Pin
Christian Graus2-Jan-02 0:52
protectorChristian Graus2-Jan-02 0:52 
Generalmalloc() question Pin
1-Jan-02 17:26
suss1-Jan-02 17:26 

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.