|
Try googling for "Free BBS source".
|
|
|
|
|
I am using ShellExecute method to launch Internet Explorer. I am using it like this:
ShellExecute(hWnd,"open","www.codeproject.com","","",SW_SHOWNORMAL);
The problem is that it opens the URL in already opened browser. How can i use this to launch a seprate new browser.
Ahsan
|
|
|
|
|
replace www.codeproject.com with iexplorer.exe http://www.f***you.com
She's so dirty, she threw a boomerang and it wouldn't even come back.
|
|
|
|
|
What will happen if default browser is NETESCAPE or Internet explorer is not installed on that PC.
Ahsan
|
|
|
|
|
Ah ah ! what a boring question. Then look up the registry in HKCR\.htm (HKCR\htmlfile), and there you get a reference to the default web browser.
She's so dirty, she threw a boomerang and it wouldn't even come back.
|
|
|
|
|
In my application I want to put a control into a property page which shall fill the whole region of the property page. I use GetClientRect() to get the client area of the property page and position the control with SetWindowPos(). This works fine for Windows 2000. Running the application on Windows98/ME the control is not in the property page but beside of it.
I can't think of why this happens but maybe anyone of you has a solution...
Gero
|
|
|
|
|
Why does the height of the control change when you make it owner drawn and how can I prevent this...?
I don't mean the actual listbox but the drop button and edit control height...it increases by about 5 pixels which is really annoying...?
Thanx in advance!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
I figured it out thanx!!!
incase your curious:
SetItemHeight(-1, newHeight);
Using the above will allow you to change the height of the comobobox itself not the items in the listbox.
Cheers!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Hi!
i have a dialogbased mfc-programm. in this programm i have several cstrings like
155 180 210 ..........
with a lot of rows and columns.
now i want to have every number as a single integer.
like int One=155; int Two=180;.....
is it possible??? thanks for every reply.
MFC
|
|
|
|
|
Use AfxExtractSubString() to pull out each group of digits, then _ttoi() to convert to integers.
--Mike--
Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
i searched the function AfxExtractSubString in the msdn, but i found nothing.
can you explain the use?
my string is called: CString text; and it contains for example: 120 111 34 44 (between every number is a blank)
thanks
MFC
|
|
|
|
|
MFC is the Best wrote:
120 111 34 44 (between every number is a blank)
Why dont you just simply use CString::Find(' ', nStart) ?
So you can iterate over the whole Line and by remembering the result of Find() you can reuse it in the next Find() .
With CString::Mid(), you get the portion of the Text between the two finds.
|
|
|
|
|
Hi!
Since I found out, that under eMbedded Visual C++ 3.0 the CPropertySheet doesn't support the wizard style mode (see CPropertySheet::SetWizardMode ), I try to implement my own wizard dialog.
So, the first test version is ready to test... but I have one problem... At the moment I have got no device to test my application, so I only can make some tests with the emulator.
So, I would be happy, if there are some programmers who would test my application on some devices. I am also very happy, if they would take a look on my source code and give me some tips to make it better!
So, please give me a reply on this message with your e-mail and I would send you the source code of my eVC++ 3.0 application!
I have one proplem in my application... I have a command bar with some buttons... I want to enable / disable this buttons at a special time... to enable / disable the buttons I use the OnUpdate???(CCmdUI* pCmdUI) function... but the system will never call this functions in the emulator... so the buttons will every time enabled!
There are 4 important files in my application:
- Wizard.h
- Wizard.cpp
- WizardPage.h
- WizardPage.cpp
I have 3 wizard pages (simple dialogs IDD_PAGE1 , IDD_PAGE2 and IDD_PAGE3 ), who are subclassed from CWizardPage (see Wizard.h and Wizard.cpp).
The wizard dialog (CWizard ) is in Wizard.h and Wizard.cpp.
In the CWizardPage class you can find the CWizardPage::OnInitDialog function, where I detroy and delete the empty command bar of the wizard pages (dialogs), so that the wizard butons (back, next, ready and cancel) are always be visible.
In the CWizard class you can add some pages with CWizard::AddPage , in the CWizard::OnInitDialog function I create all the pages.
With the next and back button I show and hide the current page.
(Sorry for my bad english - I am learning!)
--
Nice greets, Daniel.
|
|
|
|
|
Let me see.
cward@sct.com
RebelCause
|
|
|
|
|
Hi!
Now I have my own PocketPC (a HP jornada) and I have tried my own Wizard-Style dialog, and it works very fine! I will create a simple sample application and will send it to you, if you want?
Daniel
---------------------------
Never change a running system!
|
|
|
|
|
|
Who can send me one?
Thank you very much!
nevergrief@hotmail.com
nevergrief@sohu.com
C++ lover ,haha
|
|
|
|
|
|
|
|
A basic introduction in debugger-development is contained in the book "Debugging Applications" from Microsoft Press.
Gero
|
|
|
|
|
If you are going to debug code running under windows, all the information you need are in the book "Debugging Applications" by John Robbins, from Microsoft Press.
- Anders
Money talks, but all mine ever says is "Goodbye!"
|
|
|
|
|
Anders Molin wrote:
"Debugging Applications" by John Robbins
Yes this is worth getting. Also check out John's ongoing series of Bugslayer articles on MSJ etc. These are all on the MS Web site.
Neville Franks, Author of ED for Windows. www.getsoft.com
|
|
|
|
|
Thanks for the recommendation, guys!
/ravi
Let's put "civil" back in "civilization"
http://www.ravib.com
ravib@ravib.com
|
|
|
|
|
In the Visual Basic WinSock control whenever some data is received to the computer, it goes to an event where you can then handle the data. In c++ i'm using winsock, and using the send and recv functions. My question is this: how will i know when some data is sent to my pc that i can recieve? do i have to have a thread with the recv function always running and then it runs a function whenever it recieves some data?
Thanks all!
-Rune Svensen
|
|
|
|