Click here to Skip to main content
15,884,176 members
Home / Discussions / C#
   

C#

 
QuestionSQL Server 2005 query that uses the IIF with style date bool ? Pin
Member 245846711-Jun-16 22:44
Member 245846711-Jun-16 22:44 
AnswerRe: SQL Server 2005 query that uses the IIF with style date bool ? Pin
OriginalGriff11-Jun-16 23:14
mveOriginalGriff11-Jun-16 23:14 
GeneralRe: SQL Server 2005 query that uses the IIF with style date bool ? Pin
Member 245846712-Jun-16 17:08
Member 245846712-Jun-16 17:08 
GeneralRe: SQL Server 2005 query that uses the IIF with style date bool ? Pin
OriginalGriff12-Jun-16 20:23
mveOriginalGriff12-Jun-16 20:23 
QuestionMouse click poisition vary after stretching the image c# Pin
Shithun NK10-Jun-16 23:09
Shithun NK10-Jun-16 23:09 
AnswerRe: Mouse click poisition vary after stretching the image c# Pin
OriginalGriff11-Jun-16 0:48
mveOriginalGriff11-Jun-16 0:48 
QuestionHow to know all windows are in minimized state Pin
srikrishnathanthri10-Jun-16 19:15
srikrishnathanthri10-Jun-16 19:15 
AnswerRe: How to know all windows are in minimized state Pin
OriginalGriff10-Jun-16 20:48
mveOriginalGriff10-Jun-16 20:48 
As far as I know there is no event that signals this - you can look at each window fairly easily though and enumerate those that are visible: List the currently running desktop windows in C# - C# HelperC# Helper[^] - a couple of small changes there would give you a list of "open" windows. But you'd have to check it periodically yourself.
The other option is a lot more complex, and a lot more fraught with crash-and-burn potential: CBT Hooking. This entails adding a global hook to the system and watching for minimize, restore, and maximize events making their way through. You can do this in C# - though it's not simple - but it's not a trivial task (and I'd back up my PC before I started trying as you can seriously destabilize your system if you get it wrong). Google for "CBT Hooking C#" and you'll find info, if you are brave enough!

[edit]Typo[/edit]
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...


modified 11-Jun-16 3:27am.

GeneralRe: How to know all windows are in minimized state Pin
srikrishnathanthri11-Jun-16 1:18
srikrishnathanthri11-Jun-16 1:18 
GeneralRe: How to know all windows are in minimized state Pin
OriginalGriff11-Jun-16 2:03
mveOriginalGriff11-Jun-16 2:03 
QuestionProblemas Na Conexão Win Forms Depois de Instalado Pin
Maylkon9-Jun-16 2:15
Maylkon9-Jun-16 2:15 
AnswerRe: Problemas Na Conexão Win Forms Depois de Instalado Pin
Chris Quinn9-Jun-16 2:28
Chris Quinn9-Jun-16 2:28 
AnswerRe: Problemas Na Conexão Win Forms Depois de Instalado Pin
OriginalGriff9-Jun-16 2:42
mveOriginalGriff9-Jun-16 2:42 
Questioncapture image automatic Pin
Member 125746329-Jun-16 2:11
Member 125746329-Jun-16 2:11 
AnswerRe: capture image automatic Pin
Chris Quinn9-Jun-16 2:30
Chris Quinn9-Jun-16 2:30 
AnswerRe: capture image automatic Pin
ZurdoDev9-Jun-16 2:33
professionalZurdoDev9-Jun-16 2:33 
AnswerRe: capture image automatic Pin
Pete O'Hanlon9-Jun-16 2:34
mvePete O'Hanlon9-Jun-16 2:34 
QuestionHow to Convert Amibroker AFL to Dll setup file with License Manager Pin
Member 125746279-Jun-16 2:08
Member 125746279-Jun-16 2:08 
AnswerRe: How to Convert Amibroker AFL to Dll setup file with License Manager Pin
Pete O'Hanlon9-Jun-16 2:15
mvePete O'Hanlon9-Jun-16 2:15 
GeneralRe: How to Convert Amibroker AFL to Dll setup file with License Manager Pin
Member 125746279-Jun-16 2:17
Member 125746279-Jun-16 2:17 
GeneralRe: How to Convert Amibroker AFL to Dll setup file with License Manager Pin
Pete O'Hanlon9-Jun-16 2:33
mvePete O'Hanlon9-Jun-16 2:33 
GeneralRe: How to Convert Amibroker AFL to Dll setup file with License Manager Pin
Eddy Vluggen10-Jun-16 11:55
professionalEddy Vluggen10-Jun-16 11:55 
QuestionItem deleted in control even already assign to another variable. Pin
Le@rner8-Jun-16 21:11
Le@rner8-Jun-16 21:11 
AnswerRe: Item deleted in control even already assign to another variable. Pin
Pete O'Hanlon8-Jun-16 22:27
mvePete O'Hanlon8-Jun-16 22:27 
AnswerRe: Item deleted in control even already assign to another variable. Pin
Richard MacCutchan8-Jun-16 22:43
mveRichard MacCutchan8-Jun-16 22:43 

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.