|
nitheshkumar wrote: create a calendar as an active x control,develop a client to compute the salary of an employee for which the month and year list of leave taken are given as inputs
Done.
What's next?
Mark
Mark Salsbery
Microsoft MVP - Visual C++
"Remember the five Ds of dogeball: Dodge, Dip, Duck, Dive, and Dodge."
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
LOL! Good answer!
Kevin
|
|
|
|
|
Mark Salsbery wrote: What's next?
Go to good old Microsoft Way and tell Bill Gates how awful the Win32 API is..
--PerspX
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
|
|
|
|
|
Perspx wrote: how awful the Win32 API is..
.NET is going to fix all that!
Mark
Mark Salsbery
Microsoft MVP - Visual C++
"Remember the five Ds of dogeball: Dodge, Dip, Duck, Dive, and Dodge."
"If you can dodge a wrench, you can dodge a ball."
|
|
|
|
|
Oh god..! dont get me started.. I hate .NET and VB
--PerspX
"Nowadays, security guys break the Mac every single day. Every single day, they come out with a total exploit, your machine can be taken over totally. I dare anybody to do that once a month on the Windows machine." - Bill Gates
|
|
|
|
|
Hello *,
I would like to ask you if exists some ssh2 library
for connection to the other systems.
regards
Petr
|
|
|
|
|
Hi all,
how can i be able to store today's date in some variable.
Regards
|
|
|
|
|
|
time()<br />
localtime()<br />
asctime()<br />
gmtime()
etc...
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
See CTime::GetCurrentTime .
|
|
|
|
|
Hi all.
how can we hide a column in list view.
I have to maintain the data in column but that perticular column should not visible to end user.how can i do this..
|
|
|
|
|
Technically you cannot hide a column, however you can set its width equal to zero, obtaining the same effect (albeit the user can change it).
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
CPallini wrote: however you can set its width equal to zero,
Pressing 'Ctrl + +' redisplays it. It's the shortcut for auto resizing list control columns, based on it's contents, in windows.
|
|
|
|
|
I know.
If you need to handle this then a more elaborate approach involves overriding DrawItem .
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
CPallini wrote: If you need to handle this then a more elaborate approach involves overriding DrawItem.
One way could be to create a virtual list control and just don't give any text to hidden columns(this includes the header for the column), this way windows won't show this column I guess, even when this shortcut is pressed.
|
|
|
|
|
This implies you have to copy data elsewhere. Once you copied data you may just delete the column.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
|
|
|
|
|
CPallini wrote: This implies you have to copy data elsewhere. Once you copied data you may just delete the column.
Yeah that is what I meant by virtual list.
|
|
|
|
|
sheshidar wrote: ...that perticular column should not visible to end user.
Then why bother having it?
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
I have to keep the data in the column, but only thing is end user should not know that there is the column i list.
|
|
|
|
|
sheshidar wrote: I have to keep the data in the column,
But why? There may be another, more elegant, solution.
"A good athlete is the result of a good and worthy opponent." - David Crow
"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne
|
|
|
|
|
|
hi
anybody tell me what does it mean by
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Network\{4D36E972-E325-11CE-BFC1-08002BE10318}\{D8E6DD29-A056-4FB4-92AE-E9920222E4E7}\Connection
MediaSubType = 1 or 2 or3..
Because As I know this shows that whether this
sonani prakash
|
|
|
|
|
i'm not sure but it may mean following:
1 = Ethernet (using Ethernet II or IEEE 802.3 Sub-Network Access Protocol [SNAP] encapsulation)
2 = Fiber Distributed Data Interchange (FDDI)
3 = Token Ring (IEEE 802.5)
4 = IEEE 802.11 Wireless LAN
5 = ATM (using LAN emulation [LANE] and Classical IP [CLIP] over ATM)
6 = Attached Resource Computing Network (ARCnet)
7 = Dedicated wide area network (WAN) links such as Dataphone Digital Service (DDS) and T-carrier (Fractional T1, T1, T3, E1, and
E3)
|
|
|
|
|
Hi
How can I close a messagebox without using the Mouse?For example I want that the messageBox will close by itself after 10 seconds.Can I do that?
Thanks
|
|
|
|
|
There is no timeout option for a MessageBox API.
I would suggest use a dialog box, make it generic enough to be used. Use timer inside the dialog box.
something like this:
Call SetTimer(1, 10000, NULL) in CMsgBoxDlg::OnInitDialog() method.
//10000 for 10 secs
In timer method:
void CMsgBoxDlg::OnTimer(UINT nIDEvent)
{
// TODO: Add your message handler code here and/or call default
CDialog::OnOK();
CDialog::OnTimer(nIDEvent);
}
Add a public member function to accept message box string and caption. Use static control to display the provided string on the dialog box with a 'Ok' button.
Hope this helps
Thammadi
|
|
|
|