Click here to Skip to main content
15,912,977 members
Home / Discussions / C#
   

C#

 
QuestionDataGridBoolColumn disable CheckBox Pin
kantoz3-Nov-09 0:08
kantoz3-Nov-09 0:08 
AnswerRe: DataGridBoolColumn disable CheckBox Pin
dan!sh 3-Nov-09 1:30
professional dan!sh 3-Nov-09 1:30 
QuestionVisual Studio 2008 cannot detect error Pin
Aftab Sindhi2-Nov-09 23:23
Aftab Sindhi2-Nov-09 23:23 
AnswerRe: Visual Studio 2008 cannot detect error Pin
freakyit2-Nov-09 23:35
freakyit2-Nov-09 23:35 
GeneralRe: Visual Studio 2008 cannot detect error Pin
Aftab Sindhi2-Nov-09 23:45
Aftab Sindhi2-Nov-09 23:45 
AnswerRe: Visual Studio 2008 cannot detect error Pin
Luc Pattyn3-Nov-09 0:56
sitebuilderLuc Pattyn3-Nov-09 0:56 
GeneralRe: Visual Studio 2008 cannot detect error Pin
Aftab Sindhi3-Nov-09 1:13
Aftab Sindhi3-Nov-09 1:13 
AnswerRe: Visual Studio 2008 cannot detect error Pin
Aftab Sindhi11-Nov-09 4:44
Aftab Sindhi11-Nov-09 4:44 
Questionhow to change instalation screen Pin
sudhir behera2-Nov-09 22:57
sudhir behera2-Nov-09 22:57 
AnswerRe: how to change instalation screen Pin
The Man from U.N.C.L.E.3-Nov-09 0:05
The Man from U.N.C.L.E.3-Nov-09 0:05 
Question"The table could not found" and " the report need more information" Pin
haleemasher2-Nov-09 22:29
haleemasher2-Nov-09 22:29 
AnswerRe: "The table could not found" and " the report need more information" Pin
Christian Graus2-Nov-09 22:37
protectorChristian Graus2-Nov-09 22:37 
GeneralRe: "The table could not found" and " the report need more information" Pin
haleemasher2-Nov-09 22:47
haleemasher2-Nov-09 22:47 
Questionthank a lot. a problem about the muti-thread Pin
scoket2-Nov-09 20:13
scoket2-Nov-09 20:13 
AnswerRe: thank a lot. a problem about the muti-thread Pin
Christian Graus2-Nov-09 20:21
protectorChristian Graus2-Nov-09 20:21 
GeneralRe: thank a lot. a problem about the muti-thread Pin
scoket2-Nov-09 21:04
scoket2-Nov-09 21:04 
GeneralRe: thank a lot. a problem about the muti-thread Pin
Luc Pattyn3-Nov-09 1:00
sitebuilderLuc Pattyn3-Nov-09 1:00 
Questiontreeview control Pin
Member 5903102-Nov-09 19:31
Member 5903102-Nov-09 19:31 
AnswerRe: treeview control Pin
Christian Graus2-Nov-09 19:37
protectorChristian Graus2-Nov-09 19:37 
Question(ActiveWindow == DesktopWindow) Pin
JokerXtreme2-Nov-09 13:50
JokerXtreme2-Nov-09 13:50 
AnswerMessage Closed Pin
2-Nov-09 21:22
stancrm2-Nov-09 21:22 
QuestionRe: (ActiveWindow == DesktopWindow) Pin
JokerXtreme3-Nov-09 3:01
JokerXtreme3-Nov-09 3:01 
Thanx for the reply! Although I'm having quite some trouble converting it to C#.
This is where I've reached so far. For some reason it doesn't get by while (hWnd != IntPtr.Zero). As I've checked (hWnd == IntPtr.Zero) is always true.

<br />
            public static bool IsFullScreenMode()<br />
            {                <br />
                int w = GetSystemMetrics(SM_CXSCREEN);<br />
                int h = GetSystemMetrics(SM_CYSCREEN);<br />
<br />
                IntPtr hWnd = new IntPtr();<br />
<br />
                hWnd = FindWindowEx(GetDesktopWindow(), hWnd, null, null);<br />
                while (hWnd != IntPtr.Zero)<br />
                {<br />
                    if (GetWindowLong(hWnd, GWL_EXSTYLE) == WS_EX_TOPMOST)<br />
                    {<br />
                        RECT rcWindow;<br />
                        GetWindowRect(hWnd, out rcWindow);<br />
                        if ((w == (rcWindow.right - rcWindow.left)) && (h == (rcWindow.bottom - rcWindow.top)))<br />
                        {<br />
                            return true;<br />
                        }<br />
                    }<br />
                    hWnd = FindWindowEx(GetDesktopWindow(), hWnd, null, null);<br />
                }<br />
                return false;<br />
            }<br />


Would be glad if you could help
QuestionRe: (ActiveWindow == DesktopWindow) Pin
JokerXtreme3-Nov-09 8:16
JokerXtreme3-Nov-09 8:16 
AnswerRe: (ActiveWindow == DesktopWindow) Pin
JokerXtreme3-Nov-09 11:16
JokerXtreme3-Nov-09 11:16 
Question!!! HELP ME !!! Realize a vumeter for file audio Pin
uelfox2-Nov-09 13:13
uelfox2-Nov-09 13:13 

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.