|
Don't you hate it when you work hard on your project, only to find your client isn't so impressed just because of what it looks like on the outside?
If you need help with graphics and user interface layout, Z Web Graphics can help. We specialize in working with developer's to give your project the image it deserves. We know how hard you work behind the scenes, and we will help you reflect that on the surface.
All you have to do is email us at info@zwebgraphics.com, or fill out our customer profile form located on our website at www.zwebgraphics.com. It all can be done via email, by you telling us a little bit about you and your project, then we can begin designing mock up layouts, and sending you graphics via email. It is all very easy, and very inexpensive.
Contact us at info@zwebgraphics.com or visit our website at www.zwebgraphics.com for more information.
Z Web Graphics
a programmer's best friend
|
|
|
|
|
You know, I'll bet Chris would be pleased to sell you some space, here on CodeProject, for your add...
Just keep it out of the forums!
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
I would join in Anders in urging everyone not to consider doing business with people who have no idea of Netiquette and think they can get a free ad out of the forums instead of placing an ad on the site where it belongs.
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
|
|
|
|
|
|
I have created a simple dialog and want to capture when a user presses a key, I have tried handeling the WM_KEYDOWN and WM_KEYUP events but they don't seem to get called! any ideas??
andy solman
|
|
|
|
|
You're must capture its in the PreTranslateMessage function!
Best regards,
Eugene Pustovoyt
|
|
|
|
|
Your problem is that keystrokes in dialog boxes are handled differently to other window types. Create accelerators for each key you wish to process, override PreTranslateMessage , and call TranslateAccelerator for the messages instead.
---
Simon
decided that his 'ironlung' nickname sounded kinda stupid, so he decided to use his real name
|
|
|
|
|
Hy everybody!!
I'm new in Visual C++, and have a litle question...
Does anybody knows how can I deselect an item in a CTreeCtrl?
thanks all for the attention
cheers from brazil!!!
|
|
|
|
|
Send the TVM_SELECTITEM message and set lParam to NULL.
That will deselect all selected items.
Nish
|
|
|
|
|
Hi,
I want to send an email using C++. I have seen PJ Naughters MAPI encapsualtion class which I think will do what I want. The thing is that I need to use a dial up connection so this means I need to open the connection, send the email and then close the connection.
So, how to manage the opening and closing of the connection?
Cheers
James Spibey
Well cover me in honey and throw me to the lesbians!
|
|
|
|
|
You need to take a look at RAS. (Remote Access Service).
There's a couple of articles here on CodeProject that shows how to do that. Just search for RAS...
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
|
How can I enable-disable, show-hide system buttons (minimize, close etc.) runtime (buttons in the top right corner of dialogs)?
Thanks in advance
|
|
|
|
|
You can write this:
hMenu=GetSystemMenu(hDlg,TRUE);
EnableMenuItem ( hMenu, SC_CLOSE, MF_BYCOMMAND | MF_DISBALED);
|
|
|
|
|
I have not the menu!
I want get pointer to the buttons into the caption of Dialog (Help and Close)!
|
|
|
|
|
Can anyone tell me ho to use RegisterServiceProcess
I need to register my application as service
but rhis function is undocmented api
any help or resources about undocmented api
would be nice
MR.Byte
|
|
|
|
|
|
I need to create a shortcut on the desktop by my
program
note: I Know nothing about shell programming
thanks in advance
MR.Byte
|
|
|
|
|
The following code should do:
HRESULT CreateShortcut(LPCSTR pszShortcutFile, LPSTR pszLink,
LPSTR pszDesc)
{
HRESULT hres;
IShellLink* psl;
hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER,
IID_IShellLink, &psl);
if (SUCCEEDED(hres))
{
IPersistFile* ppf;
hres = psl->QueryInterface(IID_IPersistFile, &ppf);
if (SUCCEEDED(hres))
{
WORD wsz[MAX_PATH];
hres = psl->SetPath(pszShortcutFile);
if (!SUCCEEDED(hres))
AfxMessageBox("SetPath failed!");
hres = psl->SetDescription(pszDesc);
if (!SUCCEEDED(hres))
AfxMessageBox("SetDescription failed!");
MultiByteToWideChar(CP_ACP, 0, pszLink, -1, wsz, MAX_PATH);
hres = ppf->Save(wsz, TRUE);
ppf->Release();
}
psl->Release();
}
return hres;
}
Deepak Khajuria
|
|
|
|
|
Deepak Khajuria wrote:
hres = CoCreateInstance(CLSID_ShellLink, NULL, CLSCTX_INPROC_SERVER, IID_IShellLink, &psl);
I get an error when giving &psl to CoCreateInstance... the error disappears when I cast it to a void** pointer... but then the call fails...
Actually, what my only wish to do is to get the target path of a link and I know the path to the link. Any ideas?
|
|
|
|
|
Hi,
I have a problem in getting the no of windows open under the Windows menu when i create my own dynamice menu. If i load the menu from the resource all the opened windows are displayed under the Windows menu by default. How to get the same functionality in my dynamic menu under any one of the menu items.
Thanks in Advance
San
|
|
|
|
|
AFAIK, you have to enumerate all MDI child windows yourself and add menu items yourself. Your mainframe window has an undocumented member, m_hWndMDIClient, which is a parent for all child frames. You should use EnumChildWindows with MDI client to get the HWNDs of MDI children. GetWindowText will give you the captions.
Tomasz Sowinski -- http://www.shooltz.com
|
|
|
|
|
i made an COM - Server, works fine.. now i've tried to add a Method to the Interface with a HWND as Paramter .. it compiles well, but the linker is shouting?? do you know which lib i forgot to include..
TEST_p.obj : error LNK2001: unresolved external symbol _HWND_UserFree@8
TEST_p.obj : error LNK2001: unresolved external symbol _HWND_UserUnmarshal@12
TEST_p.obj : error LNK2001: unresolved external symbol _HWND_UserMarshal@12
TEST_p.obj : error LNK2001: unresolved external symbol _HWND_UserSize@12
thanks in advance
bernhard
""Politicians and diapers have one thing in common. They should both be changed regularly and for the same reason."
|
|
|
|
|
I was under the impression you were constrained in what parameters could be passed into a COM object, and that HWND was not one of them. It's just a long, why don't you try to pass it as one ?
Christian
After all, there's nothing wrong with an elite as long as I'm allowed to be part of it!! - Mike Burston Oct 23, 2001
|
|
|
|
|
Add ole32.lib to your TESTps.mk link build rule. It should look something like:
TESTps.dll: dlldata.obj TEST_p.obj TEST_i.obj
link /dll /out:TESTps.dll /def:TESTps.def /entry:DllMain dlldata.obj TEST_p.obj TEST_i.obj \
kernel32.lib rpcns4.lib rpcrt4.lib ole32.lib oleaut32.lib uuid.lib \
|
|
|
|