Click here to Skip to main content
15,904,638 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: SetForegroundWindow fails Pin
Phil J Pearson29-Sep-04 3:49
Phil J Pearson29-Sep-04 3:49 
GeneralRe: SetForegroundWindow fails Pin
Neville Franks29-Sep-04 10:34
Neville Franks29-Sep-04 10:34 
GeneralRe: SetForegroundWindow fails Pin
Phil J Pearson29-Sep-04 10:53
Phil J Pearson29-Sep-04 10:53 
GeneralRe: SetForegroundWindow fails Pin
Neville Franks29-Sep-04 11:04
Neville Franks29-Sep-04 11:04 
GeneralRe: SetForegroundWindow fails Pin
Phil J Pearson30-Sep-04 7:10
Phil J Pearson30-Sep-04 7:10 
GeneralChange style of window owned by another app in 98? Works in XP. Pin
Alex Gibbs28-Sep-04 8:42
Alex Gibbs28-Sep-04 8:42 
GeneralRe: Change style of window owned by another app in 98? Works in XP. Pin
agentnem28-Sep-04 9:16
agentnem28-Sep-04 9:16 
GeneralRe: Change style of window owned by another app in 98? Works in XP. Pin
Alex Gibbs2-Oct-04 7:45
Alex Gibbs2-Oct-04 7:45 
I too saw that only the one you mentioned is documented. I found the other when Dev Studio showed two forms to choose from when I was typing it in. Going to the declaration takes you to afxwin.h in the CWnd declaration:

static BOOL PASCAL ModifyStyle(HWND hWnd, DWORD dwRemove, DWORD dwAdd, UINT nFlags);

which of course also has:

BOOL ModifyStyle(DWORD dwRemove, DWORD dwAdd, UINT nFlags = 0);

I tried both forms under 98 and neither worked. Both now work in XP though. At least it was another thing to try. Smile | :)

Alex Gibbs
GeneralRe: Change style of window owned by another app in 98? Works in XP. Pin
Alex Gibbs2-Oct-04 7:49
Alex Gibbs2-Oct-04 7:49 
GeneralRe: Change style of window owned by another app in 98? Works in XP. Pin
agentnem11-Oct-04 11:01
agentnem11-Oct-04 11:01 
GeneralCreating Add-in for Visual Basic Editor Pin
agentnem28-Sep-04 8:33
agentnem28-Sep-04 8:33 
GeneralRe: Creating Add-in for Visual Basic Editor Pin
BlackDice28-Sep-04 10:49
BlackDice28-Sep-04 10:49 
GeneralRe: Creating Add-in for Visual Basic Editor Pin
agentnem28-Sep-04 13:12
agentnem28-Sep-04 13:12 
GeneralWindows Themed Shapes and Structure RGNDATA Pin
Tristan Rhodes28-Sep-04 7:23
Tristan Rhodes28-Sep-04 7:23 
GeneralTerminating a thread from a different thread Pin
BlackDice28-Sep-04 6:15
BlackDice28-Sep-04 6:15 
GeneralRe: Terminating a thread from a different thread Pin
Blake Miller28-Sep-04 6:36
Blake Miller28-Sep-04 6:36 
GeneralHow about this? Pin
BlackDice28-Sep-04 6:57
BlackDice28-Sep-04 6:57 
GeneralRe: How about this? Pin
Blake Miller28-Sep-04 7:09
Blake Miller28-Sep-04 7:09 
GeneralRe: How about this? Pin
BlackDice28-Sep-04 7:42
BlackDice28-Sep-04 7:42 
GeneralRe: How about this? Pin
Blake Miller28-Sep-04 7:52
Blake Miller28-Sep-04 7:52 
GeneralRe: How about this? Pin
BlackDice28-Sep-04 11:02
BlackDice28-Sep-04 11:02 
GeneralRe: Terminating a thread from a different thread Pin
Neville Franks28-Sep-04 10:35
Neville Franks28-Sep-04 10:35 
GeneralMessage lost when sending to split windows Pin
mike-o28-Sep-04 6:03
mike-o28-Sep-04 6:03 
GeneralRe: Message lost when sending to split windows Pin
Sujan Christo28-Sep-04 19:40
Sujan Christo28-Sep-04 19:40 
GeneralCustom Shell handler Pin
Jim Crafton28-Sep-04 6:00
Jim Crafton28-Sep-04 6:00 

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.