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
13
votes
1 answer

What's the proper response to WM_ENDSESSION with ENDSESSION_CLOSEAPP and wParam == FALSE?

According to the WM_ENDESSION docs, when lParam is ENDSESSION_CLOSEAPP and wParam is FALSE, "the application should not shut down". So, should I just ignore that and use the default response? What is it's purpose? (I'm listening to Windows…
Macke
  • 24,812
  • 7
  • 82
  • 118
13
votes
1 answer

h:messages does not display messages when p:commandButton is pressed

I have a problem with the h:messages tag in JSF that simply does not show any messages. In the Glassfish log are no errors when I click the button. The setup is as follows: test.xhtml:
hFonti
  • 187
  • 1
  • 4
  • 11
13
votes
4 answers

How do I prevent a double-click on an Open File dialog from registering a click on the form under it?

I have a custom control that's essentially a drawing canvas, and a program that uses it for editing files. When a new file is opened, though, something very strange can happen. If the user double-clicks on the file in the Open File dialog (standard…
Mason Wheeler
  • 82,511
  • 50
  • 270
  • 477
13
votes
4 answers

How can I send a message from Google Chrome extension to desktop application?

I have a Windows desktop application which must work in collaboration with my Chrome extension. Can I send a message to my desktop app somehow from Google Chrome extension? Which IPC objects can I use?
13
votes
1 answer

Length prefix for protobuf messages in C++

I'm using protobuf to serialize message I send over a socket connection in C++. For the communication I'd like to add a header to the messags indicating the length of the message. What do you think about this implementation? I did some research and…
multiholle
  • 3,050
  • 8
  • 41
  • 60
12
votes
4 answers

Protocol Terminology: Message versus Packet

In practice, what is the most appropriate term for the communications transmitted over a network in higher level protocols (those above TCP/IP, for example)? Specifically, I am referring to small, binary units of data. I have seen both "message" and…
Adam Paynter
  • 46,244
  • 33
  • 149
  • 164
12
votes
3 answers

Convert Windows Message IDs to Text

Is there a hidden/undocumented API call within Windows that will convert a message ID (e.g. WM_COMMAND) into text? I have seen suggestions on how to achieve this using macros and switch statements (which is a bit of a joke!) but surely there is a…
SparkyNZ
  • 6,266
  • 7
  • 39
  • 80
12
votes
5 answers

Php mail: how to send html?

The code below is sending an email correctly but for the body. I need to show html in the body of the message and I cannot make it. The examples in the web won't send the email :( How can I fix my code to send the email with the html in the body?…
lleoun
  • 477
  • 3
  • 6
  • 15
12
votes
7 answers

What can cause "The specified string is not in the form required for an e-mail address"?

What can cause the error "The specified string is not in the form required for an e-mail address"? Source code line that causes the error: msg.To.Add(new MailAddress("txtEmail.Text"));
parveen
  • 129
  • 1
  • 1
  • 4
12
votes
4 answers

Spy++ alternative that can send messages

Any good alternative for Spy++ that allows sending messages to windows? Thanks
Dave
  • 123
  • 1
  • 1
  • 5
12
votes
1 answer

Messages with expiration are not removed from RabbitMQ

I am sending a normal message through a producer to RabbitMQ and then I send a second message with the expiration attribute assigned to a value. Then using the rabbitmqctl list_queues command I monitor the status of the messages. I found that if I…
Anastasios Andronidis
  • 6,310
  • 4
  • 30
  • 53
12
votes
2 answers

Display Customer order comments (customer note) in Woocommerce

I have a little problem when I try to display woocommerce customer order comments (not the notes, but the comments that a customer can add during the checkout process). (I'm going to add just the relative lines for this problem, as other woocommerce…
Nick
  • 13,493
  • 8
  • 51
  • 98
12
votes
4 answers

Instagram login programmatically

I'm trying to programmatically login to Instagram via my own website because I want to retrieve direct messages from Instagram (this requires a login as it is not supported in the Instagram API (yet)). But the Instagram login page requires cookies…
Rens
  • 478
  • 2
  • 8
  • 13
12
votes
4 answers

Moving messages between queues rabbitMQ

I am looking to be able to move messages between queues (manually) in Rabbit. For example: first-queue has messages ['a','b','c','d','e','f'] second-queue has messages ['x','y'] I want to be able to move for example message 'a' to second-queue from…
Dax Durax
  • 1,607
  • 5
  • 23
  • 31
12
votes
3 answers

Edit Mercurial Earlier Commit Message - TortoiseHg

Is there a way to edit a commit message in Mercurial on a commit after other commits have occured using TortoiseHg? I've read these posts: How to edit incorrect commit message in Mercurial? Mercurial: how to amend the last commit? and have been…
sdoca
  • 7,832
  • 23
  • 70
  • 127