|
Christian Graus wrote:
You can either use strings, or create your own class to contain an IP address.
Christian
what about the binary part? Can anyone simplify how a routing table works, I've been searching all day for a simple instruction on how they work but I get complicated instructions.
Thanks
|
|
|
|
|
Hi!
Can anybody advise an open-source visual SQL-query builder?
Desired on Visual C++ 6.0
// --- Better -as AX control.
Thanks.
|
|
|
|
|
It May not be the right place to post this question but i think some one can clear things up for me it's concerning mobile apps
- Is it possible to add new fonts for use in sms messages
- how about supporting a large number of characters
- what programming language is used to develop the new font
- or is there a tool kit for doin such kind of stuff
- will the developed font on all mobile equipments
- is it dependent on the os of the mobile
- are there any good web sites concerning these questions ?
- is there some one who is familiar with the large number of chracters that would be supported like a chinese language or so?
|
|
|
|
|
|
Hi folks,
This is probably a very basic question, but I can't figure out a good answer.
I have CFormView-derived class that I display as an MDI child in my app. This works fine. However, under a specific circumstance, I need to display the same form from within a modal dialog, as a modal dialog, so that I can modify the data in the parent dialog after the child terminates.
I can, of course, duplicate the code and create a new dialog to do this. But I am hoping there may be a way I can use the same code as in the form view so that I do not have to maintain two sets of code for the same screen.
Can anyone point me to a way to do this? Or the other way round? That is, have the code in a modal dialog, but access it from a form view?
BTW, I am still
Thank you for your time.
|
|
|
|
|
You'll have to create a new class derived from CDialog . You can of course re-use the dialog resource (IDD_FOO ).
/ravi
My new year's resolution: 2048 x 1536
Home | Articles | Freeware | Music
ravib@ravib.com
|
|
|
|
|
Hello.
i'm trying to add an systray icon for my application.
i was able to add the icon to the systray, but when i move the mouse
over the icon, it disapear.
anyone knows why?
|
|
|
|
|
Can we assume you called Shell_NotifyIcon() and are being notified correctly? Have you seen these other examples:
http://www.codeproject.com/shell/StealthDialog.asp
http://www.codeproject.com/shell/ctrayiconposition.asp
http://www.codeproject.com/shell/minimizetotray.asp
http://www.codeproject.com/shell/YaTrayMin.asp
http://www.codeproject.com/shell/siv_trayicon.asp
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
|
|
|
|
|
Thanks, i'll try these examples (i've tried some of them).
anyhow, i used 'Shell_NotifyIcon()' to get the icon into the systray.
but, i did not recevied notifications!
Code i'm using:
******************************
#define WM_uSYSTRAY_ICON (WM_USER+20)
#define uSYSTRAY_ICON_ID (WM_USER+21)
...
...
m_NID.cbSize = sizeof(NOTIFYICONDATA);
strcpy(m_NID.szTip, "SysTray icon");
m_NID.uCallbackMessage = WM_uSYSTRAY_ICON;
m_NID.hWnd = this->m_hWnd;//this is a MFC created dialog ': public CDialog'
m_NID.uID = uSYSTRAY_ICON_ID;
m_NID.hIcon = (HICON)AfxGetApp()->LoadIcon(IDR_MAINFRAME);
m_NID.uFlags = NIF_TIP | NIF_ICON | NIF_MESSAGE;
Shell_NotifyIcon(NIM_ADD, &m_NID);
****************** end of code
any ideas?
|
|
|
|
|
Hi,
how can I play a .wav file (i think its easiest) more slowly or faster. So i want to play a wave-file half-time or something like this.
MFG
RedDragon2k
|
|
|
|
|
I have been trying to get a dialog window displayed big and then small, but the SetWindowPos seems to do nothing since I added resize code.
I have a divider to control the clipping of the lower section of the dialog. See code below (Called via push button to hide/show details)
void CEditDlg::OnBnClickedAdvanced()
{
static bool m_bExpand = false;
if (rcLarge.IsRectNull())
{
GetWindowRect(rcLarge);
CWnd* pWndDivider = GetDlgItem (IDC_DIVIDER);
pWndDivider->GetWindowRect (rcDivider);
rcSmall = rcLarge;
rcSmall.bottom = rcDivider.top;
InitResizerLarge();
}
if(m_bExpand)
{
SetWindowPos(NULL, 0, 0, rcLarge.Width(), rcLarge.Height(), SWP_NOMOVE | SWP_NOZORDER);
m_origSize = CPoint(rcLarge.Width(), rcLarge.Height());
m_bExpand = false;
m_cAdvancedButton.SetWindowText("Hide Details");
}
else
{
SetWindowPos(NULL, 0, 0, rcSmall.Width(), rcSmall.Height(), SWP_NOMOVE | SWP_NOZORDER);
m_origSize = CPoint(rcSmall.Width(), rcSmall.Height());
m_bExpand = true;
m_cAdvancedButton.SetWindowText("More Details");
}
}
ANy way to get this code to toggle between big/small dialog; i.e. clip the window at the divider.
|
|
|
|
|
i need pc to link to cash regsiter so i can use my normal pos on cash regsiter -uniwell
point of sale systems
|
|
|
|
|
i think you can control the cash register via the Serial port, you just write the command to the port, that will take care of remaining...
Ninety-eight percent of the thrill comes from knowing that the thing you designed works, and works almost the way you expected it would. If that happens, part of you is in that machine.
|
|
|
|
|
hi
I'm facing the same problem..How do you send commands to the POS???I am using Uniwell DX915
|
|
|
|
|
is there a way to programatically set the default playback and capture devices?
i.e. the device oyu select in control panel/sounds and audio devices/Audio: Sound Playback|Sound Recording|.. - Default Device
?
TIA
Peter
Pandoras Gift #44: Hope. The one that keeps you on suffering. aber.. "Wie gesagt, der Scheiss is' Therapie" boost your code || Fold With Us! || sighist | doxygen
|
|
|
|
|
|
Already doing this - but I still want to modify the default devices..
Reason: We are sending the playback to an external device, and a message box plonk arriving there might blow away some ears.
The PC is set up for this purpose, but we would like to (a) set sound playback for our application to a specific device and (b) verify that default playback isn't there.
Pandoras Gift #44: Hope. The one that keeps you on suffering. aber.. "Wie gesagt, der Scheiss is' Therapie" boost your code || Fold With Us! || sighist | doxygen
|
|
|
|
|
Hi,
Can anyone please tell me how to display a 12-bit image in MFC application. I want to display the image received from a scanner device (raw image buffer).
Thanks,
Ajay
|
|
|
|
|
|
Thanks a lot! Your reply was of great help.
|
|
|
|
|
Hi,
I develop a multilingual support code in vc++ 6.0. The dialog box does not support multi langage, how do enable the multilanguage? Is there any settings avilable in vc++ editor. I modified OS (winXP ) settings.
Write your suggestions.
Regards,
inbha.
|
|
|
|
|
What about providing string resources, which may cover what ever language you want?
SkyWalker
|
|
|
|
|
Thanks for reply.
I have given the japanese language in Dialog control it doesn't displayed(just copy paste from some other resource).
I didn't used any string table, becase i read the language string from ini file.
|
|
|
|
|
Is that font installed on your computer?
SkyWalker
|
|
|
|
|
No,
But i download some projects from codeproject and Unicode.org sites, that projects are running in my machine and display the japanese language correctly. They used Japanese & Spanish language (used dll & string table). In that article we used to Ms sans serif means it supports all language(unicode enabled).
|
|
|
|