Questions tagged [message]

For questions regarding Facebook messages, JavaScript messages, mobile messages (Android, iOS, windows-phone), etc. Not for use for error messages. Include additional tags to indicate messaging platform, programming language, etc.

Questions about sending and receiving messages of any kind. As this tag is vague, use a more specific tag instead if possible. For example, most questions about Facebook messages should have the tag for the programming language, , and possibly a tag for the API or framework you're using. If your question is about a , an , a window, a , an , … then use the appropriate tag instead. Do not use this tag (or any tag) to indicate that you tried something and got an error message.

4541 questions
11
votes
1 answer

Catch keypress with android

How can i catch a phone keypress with the android SDK? i've been looking around for hours without finding anything.. For example: In some cases, i want to catch the message when a user presses the "hang up" button on the phone, and then discard the…
shuwo
  • 879
  • 2
  • 8
  • 7
11
votes
4 answers

Is multiple-producer, single-consumer possible in a lockfree setting?

I have a bunch of threads that are doing lots of communication with each other. I would prefer this be lock free. For each thread, I want to have a mailbox, where other threads can send it messages, (but only the owner can remove messages). This is…
anon
  • 41,035
  • 53
  • 197
  • 293
11
votes
1 answer

Stop auto popping up intellij messages window

Every time I try to run a test or compile code in IntelliJ, if another file has a compile error, it causes the messages window to auto popup and the editor automatically opens that file with the error. Is there a way to prevent this behavior?
Jeff Storey
  • 56,312
  • 72
  • 233
  • 406
11
votes
1 answer

Does anybody know what means ShellHook message HSHELL_RUDEAPPACTIVATED?

I am writing application which establishes shell hooks to get shell events (I am using C# if it matters). I am using this example: http://msbob.spaces.live.com/blog/cns!DAFD19BC5D669D8F!132.entry Hook is working fine but I do not receive message on…
koldovsky
  • 335
  • 1
  • 8
10
votes
9 answers

Echo messages while php script still executes

I have a php script that uses cURL and takes about 10-15 minutes to execute. What it does, it parses about 1000 pages looking for specific matches and throughout the script I have diagnostic messages echo'ed out, like "Going to the next page",…
pHelics
  • 293
  • 1
  • 4
  • 7
10
votes
5 answers

Which is the best way to display 'flash messages' in kohana v3?

I would like to know the best way to display flash messages in Kohana v3? Some tutorials or examples would be helpful.
ramabarca
  • 298
  • 2
  • 14
10
votes
4 answers

Win32: My Application freezes while the user resizes the window

I write a win32 application. I implemented the message loop myself like this: bool programcontinue = true; while(programcontinue) { while (PeekMessage(&Msg, NULL, 0, 0, PM_REMOVE)) { …
marc40000
  • 3,167
  • 9
  • 41
  • 63
10
votes
3 answers

xmpp messages are lost when client connection lost suddently

I am using ejabberd server and ios xmppframework. there are two clients, A and B. When A and B are online, A can send message to B successfully. If B is offline, B can receive the message when B is online again. But when B is suddenly/unexpectedly…
xhsoldier
  • 575
  • 6
  • 31
10
votes
3 answers

Bean Validation Message with dynamic parameter

I am getting started with bean validation, and I'm trying to compose a constraint. My constraint is to validate a CPF(personal document in Brazil). My constraint is working, but I need the message to contain a dynamic parameter. I'm using…
Henrique Droog
  • 313
  • 1
  • 2
  • 13
10
votes
2 answers

How to stack messages with PrimeFaces messages component?

I have a question concerning the p:messages component. First, here is my configuration: PrimeFaces: 4.0.3 (elite) JSF: MyFaces 2.0.2 Server: WebSphere 8.5.0.2 Then, my code: test.xhtml
Nasedo47
  • 337
  • 3
  • 13
10
votes
6 answers

How can I keep Task Manager from killing my program?

Is there any way to protect my Delphi application from being killed by the Windows task manager (or others like Process Explorer)? I think Windows messages can do that (by doing a hook and intercepting the TerminateProcess message). I want an…
djiga4me
  • 345
  • 1
  • 4
  • 13
10
votes
3 answers

Send string data from Thread to main form

In Dephi, I create a thread, like this, which will send message to main form from time to time Procedure TMyThread.SendLog(I: Integer); Var Log: array[0..255] of Char; Begin strcopy(@Log,PChar('Log: current stag is ' + IntToStr(I))); …
alancc
  • 487
  • 2
  • 24
  • 68
10
votes
3 answers

MFMessageComposeViewController much slower on iOS 7

I've an app for sending email and text messages. The problem that i'm having is that the loading of the MFMessageComposeViewController much slower on iOS 7 than it was on prior iOS and it becomes worst as the number of contacts increases. Screen…
10
votes
3 answers

Override Spring:message tag with database values

I am using Spring to display messages from a properties file. I would like to be able to override the tag to use a value from a database based on the logged in user. If this value is not present I would like it to default to the…
blong824
  • 3,920
  • 14
  • 54
  • 75
9
votes
1 answer

Visual C++: How to embed and display a compile time message in code?

Is there a way to embed a message in code that is displayed during compile-time when that piece of code is being compiled? The messages are diagnostic in nature and should not modify or abort the compile process. (Disclaimer: I know the answer to…
Ashwin Nanjappa
  • 76,204
  • 83
  • 211
  • 292