Click here to Skip to main content
15,887,928 members
Home / Discussions / C#
   

C#

 
AnswerRe: Grid View Event.. Pin
Henry Minute15-Jun-09 0:14
Henry Minute15-Jun-09 0:14 
AnswerRe: Grid View Event.. Pin
Kaushal Arora15-Jun-09 2:53
Kaushal Arora15-Jun-09 2:53 
QuestionWhy I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin14-Jun-09 19:49
hwswin14-Jun-09 19:49 
AnswerRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
N a v a n e e t h14-Jun-09 20:58
N a v a n e e t h14-Jun-09 20:58 
GeneralRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin14-Jun-09 21:21
hwswin14-Jun-09 21:21 
GeneralRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin14-Jun-09 22:19
hwswin14-Jun-09 22:19 
GeneralRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
N a v a n e e t h14-Jun-09 22:34
N a v a n e e t h14-Jun-09 22:34 
GeneralRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
N a v a n e e t h14-Jun-09 23:11
N a v a n e e t h14-Jun-09 23:11 
Ok, Here is my thought on this

The filter added using Application.AddMessageFilter will only get called for messages posted to the message queue. Some win32 messages like WM_CREATE will be sent directly to the control. If you see the win32 APIs, there are SendMessage and PostMessage available. SendMessage doesn't post the message to queue and the messages sent by SendMessage won't be caught by the filter. PostMessage posts the message to the application message queue and filter gets called.

I guess this would be the reason for filter not getting called.

Smile | :)


AnswerRe: Why I can't get the WM_CREATE msg in the PreFilterMessage method Pin
hwswin15-Jun-09 15:25
hwswin15-Jun-09 15:25 
QuestionTake picture from Webcam (problem) Pin
S K Y14-Jun-09 18:04
S K Y14-Jun-09 18:04 
AnswerRe: Take picture from Webcam (problem) Pin
Christian Graus14-Jun-09 18:22
protectorChristian Graus14-Jun-09 18:22 
GeneralRe: Take picture from Webcam (problem) Pin
S K Y14-Jun-09 19:14
S K Y14-Jun-09 19:14 
QuestionWebBrowser in VS2008 Pin
trinm198714-Jun-09 14:56
trinm198714-Jun-09 14:56 
AnswerRe: WebBrowser in VS2008 Pin
Christian Graus14-Jun-09 17:52
protectorChristian Graus14-Jun-09 17:52 
AnswerRe: WebBrowser in VS2008 Pin
trinm198714-Jun-09 20:29
trinm198714-Jun-09 20:29 
QuestionDisplay a grid of all character of a font Pin
baranils14-Jun-09 12:04
baranils14-Jun-09 12:04 
AnswerRe: Display a grid of all character of a font Pin
PIEBALDconsult14-Jun-09 15:12
mvePIEBALDconsult14-Jun-09 15:12 
AnswerRe: Display a grid of all character of a font Pin
_Maxxx_14-Jun-09 15:21
professional_Maxxx_14-Jun-09 15:21 
GeneralRe: Display a grid of all character of a font Pin
Luc Pattyn14-Jun-09 15:29
sitebuilderLuc Pattyn14-Jun-09 15:29 
GeneralRe: Display a grid of all character of a font Pin
_Maxxx_14-Jun-09 16:56
professional_Maxxx_14-Jun-09 16:56 
GeneralRe: Display a grid of all character of a font Pin
Luc Pattyn14-Jun-09 16:58
sitebuilderLuc Pattyn14-Jun-09 16:58 
GeneralRe: Display a grid of all character of a font Pin
_Maxxx_14-Jun-09 19:07
professional_Maxxx_14-Jun-09 19:07 
GeneralRe: Display a grid of all character of a font Pin
baranils14-Jun-09 19:46
baranils14-Jun-09 19:46 
GeneralRe: Display a grid of all character of a font Pin
Member 400112014-Jun-09 23:45
Member 400112014-Jun-09 23:45 
QuestionC# ToolstripMenu question Pin
Dj_AviAtriX14-Jun-09 12:00
Dj_AviAtriX14-Jun-09 12: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.