messages

Personalized Welcome Messages

How do I create a welcome message on my home page with user's name in it? Dragging dynamic fields from the recordset onto my page does not work: <cfoutput>#Recordset1.Username#</cfoutput>. It keeps using the first username in the table, not the user I am logged in as. Do I have to add something to my Application.CFC page? I'm using C...

How provide own Sent Messages in Interface Builder

I cannot find documents about the way, in which Interface Builder determines the Sent Message outlets for the graphical connections between components triggering events and messages of other components. I want to generate components encapsulating Finite State Automata. The input part is simple, just define IBAction messages and you can c...

AppDomain and native window messages

I have a problem which is also related to AppDomain's and Windows messages. A web page to be hosted in Internet Explorer that would contain a .Net WinForms UserControl derived control - HelloWorldCtl. This control is inside a C# written assembly - HelloWorldControl.dll. The control uses code from another assembly that is written in C++/...

How to delete delayed messages before they arrive at a Handler?

My Problem is that I need to send messages with a delay of 1 second. The handler then initiates some action, you're getting the picture. There are nevertheless some conditions in which the already sent message should be deleted ( before the second elapsed ) to prevent the handler from doing anything. I couldn't figure out how to do thi...

WINAPI: Look at messages from other process

Hi, I'm quite new to the Windows API and would like to know how to peek at messages another process receives. As an example, I would like to get the HWND of, say, notepad and peek at all messages that are sent to this window. I code in C/C++. Thank you ...

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 example of this protection. The Kaspersky Anti-Virus suites are like this; we can't end their ...

MySQL: Large VARCHAR vs. TEXT?

Apologies if this is a silly question, could use an opinion: I've got a messages table in MySQL which records messages between users. Apart from the typical ids and message types (all integer types) I need to save the actual message text as either VARCHAR or TEXT. I'm setting a front-end limit of 3000 characters which means the messages...

How to pass messages from a child user-control to the parent

This is a Windows Forms / .Net C# question. I have a borderless windows whose transparency key and background color make it completely transparent. Inside the window are a couple of user controls. I want to be able to move the window. I know how to do this on the parent window, but my problem is that the child controls are the only t...

WM_SysCommand Preventing window move in delphi

I use the following code to capture when the minimise button of my program is pressed so that I can hide the form from the taskbar, and as such minimise to the system tray. procedure TForm1.WMSysCommand; begin if (Msg.CmdType = SC_MINIMIZE) then begin form1.Hide; show1.Checked :=false; hide1.Checked :=true; end; ...

is there and SPY++ for viewing .NET Framework messages only?

Hi, is there any good program for viewing functions / messages that are being executed on the .net framework in the background? i'm looking for something similar to what spy++ is doing, just for .NET only. I have some weird behavior that i need to understand what causing it, and i don't think on any better alternative. Thanks ...

RichEdit VCL and URLs. Workarounds for OnPaint Issues.

So, issue is with the thing Delphi progies scare to death - Rich Edit in Windows ( XP and pre-XP versions ). Situation: I have added EM_AUTOURLDETECTION in OnCreate of form. Target -> RichEdit1. Then, I have form, that is "collapsed" after showing form. RichEdit Control is sattic, visible and enabled, but it is "hidden" because form wi...

how to sent, keyboard message mirror to edit1 control

gMsgHook = SetWindowsHookEx(WH_KEYBOARD_LL, GetMsgHookProc, ghInstDll, 0); ....... extern "C" HOOK_DLL_API LRESULT CALLBACK GetMsgHookProc(int nCode, WPARAM wParam, LPARAM lParam) { if (nCode < 0){ CallNextHookEx(gMsgHook, nCode, wParam, lParam); } KBDLLHOOKSTRUCT *dl = (KBDLLHOOKSTRUCT*)wParam; if (nCode >= HC_ACTION){ ...

iphone messages app. How can I build something similar ?

I want to build some thing very similar to the iphone messages app that comes by default on the iphone. I am not sure of what UI elements that i should be using to build the conversation view of the messages app. How are the balloons created and how are they placed in positions. What UI elements are used to create the balloons ? I am ...

TFS 2008 MSBuild Dynamic Random Messages?

I have added custom build messages so the Visual Studio GUI shows status messages during the course of a msbuild. I would like to now add something dynamic so I can inject random cute thoughts for the build-watcher. How could this be done? Thanks. ...

How to log messages passing through ejabberd

I would like to log when a stanza (message and presence only) was received by the ejabberd server,a nd when it was sent to the other party (or broardcast). Whats important for me is to log the stanza and the times they are sent & received. Thanks. ...

jsf message severity

How do I able to fetch all the messages with SEVERITY is ERROR only. I tried: Iterator<FacesMessage> messages = facesContext.getMessages(clientId); while (messages.hasNext()){ if(messages.next().getSeverity().toString()=="ERROR 2")System.out.println(messages); } Is this th right way? It doesnot intercept messages with ERROR severi...

How to retrieve all email messages over *** characters long?

I always had trouble updating blogs i wrote, but it occured to me that whenever people ask me something I can give really long replies that could easily become articles. However there`s not a feature in GMail or any other mail app for that matter, that enables me to search by message length. Will I have to write a script to retrieve a...

facebook messages result set like

I'm trying to get my head around with the group by command, basically I'm trying to select all messages of a user, group them by subject then show them - just like how face book does it. The result should have the latest message id, the sender's id, the date, and the total count of the messages in that subject. The message table can lo...

Multithreaded application concept

Hi to all, i'm developing a multi-threaded application and i'm here to ask for a little help :) As i don't have much experience in multi-threading, especially in win32 API and this is my very first experience with it, i just wanted to check if I'm on the right way with my abstract model. I have read a reasonable amount of literature be...

Does iPhone SDK Objective C support functions inside of functions?

I know that javascript, for example supports functions inside of functions, like so: function doSomething(){ function doAnothingThing(){ //this function is redefined every time doSomething() is called and only exists inside doSomething() } //you can also stick it inside of conditions if(yes){ function doSomethingE...