|
hey i'm curious to know your name. if it's a Top-Secret you can just mail me. so that i'll start calling you with your name here.
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
T-1000 wrote: hey i'm curious to know your name.
T-1000 wrote: if it's a Top-Secret you can just mail me
T-1000 wrote: so that i'll start calling you with your name here
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
hey i'm curious to know your name. if it's a Top-Secret you can just mail me. so that i'll start calling you with your name here.
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
he he
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
so my friends is called "he-he".. okay..okay.. nice name buddy!
"But your mind is very complex, very tricky. It makes simple things complicated. -- that's its work. And for centuries it has been trained for only one thing: to make things so complicated that your life becomes impossible."- Osho
<marquee scrollamount="1" scrolldelay="1" direction="up" height="10" step="1">--[V]--
|
|
|
|
|
CIA is after me.
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
I dont know what difference do a name make ??
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Anything is possible if you use C style casting. You could, for example, get a void pointer to the function and then cast the void pointer back to p_fun.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
MDI application. How to resize childFrame to fit view, which is determined by grid control. They size of grid control changes. I want ChildFrame change correspondingly.
Thank you in advance.
|
|
|
|
|
ResizeParentToFit
This method allows the size of your view to dictate the size of its frame window. This is recommended only for views in MDI child frame windows. Use ResizeParentToFit in the OnInitialUpdate handler function of your derived view class.
ResizeParentToFit assumes that the size of the view window has been set. If the view window size has not been set when ResizeParentToFit is called, you will get an assertion. To ensure that this does not happen, make the following call before calling ResizeParentToFit:
GetParentFrame()->RecalcLayout();
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
I have two edit boxes. By default edit boxes allow copy, cut, paste and delete features. But now i should not allow copy, cut, paste and delete features in edit boxes.
knarasimharao
|
|
|
|
|
Override the WM_CUT, WM_COPY and WM_PASTE handlers.
You can leave the handlers empty.
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
I have a static control(derived from CStatic) and rich edit controls and it contains two lines. I want to set the color of the first line to blue and the second line to red. Currently I am using the CDialog::OnCtlColor and using the SetTextColor function to set the color. However it sets the color for the whole static control i.e. both the lines. Can someone help?
knarasimharao
|
|
|
|
|
Just an out line of procedure. customizee as you like
HWND hRichEdit = NULL;
CHARFORMAT* cf = NULL;
hRichEdit = (HWND)GetDlgItem (IDC_RICHEDIT);
CHARRANGE cr;
cr.cpMin = 0; // set strating char position
cr.cpMax = -1;// end char pos
SendMessage(hRichEdit, EM_EXSETSEL, 0, (LPARAM)&cr);
cf = new CHARFORMAT;
cf->cbSize = sizeof(CHARFORMAT);
cf->dwMask = CFM_COLOR |CFM_BOLD|CFM_FACE|CFM_SIZE|CFM_ITALIC;
cf->dwEffects = CFE_BOLD;
cf->crTextColor = RGB(255,0,0);
cf->yHeight = 160;
strcpy ( cf->szFaceName, "Ariel");
SendMessage( (HWND) hRichEdit, SCF_SELECTION, (WPARAM) SCF_ALL, (LPARAM) cf);
All the best
AnilFirst@gmail.com
|
|
|
|
|
anilFirst wrote: CHARFORMAT* cf = NULL;
Won't this work...
CHARFORMAT cf;
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
>>Won't this work...
>>CHARFORMAT cf;
It will....Carry on
AnilFirst@gmail.com
|
|
|
|
|
I have a static control(derived from CStatic) and rich edit controls and it contains two lines. I want to set the color of the first line to blue and the second line to red. Currently I am using the CDialog::OnCtlColor and using the SetTextColor function to set the color. However it sets the color for the whole static control i.e. both the lines. Can someone help?
knarasimharao
|
|
|
|
|
Hi
I have created a CButton in the following way.
CButton btnTemp;
UINT uiBtnStyle = BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP;
btnTemp->Create(szButtonName, uiBtnStyle, rectGroups, this, IDC_TEMP);
When I have focus on the button ,enter key press on the button does not trigger the Event for the button.
Someone tell me where I must have gone wrong.
Thanks,
Gayathri.
|
|
|
|
|
hi..
are u sure u have made a object btnTemp and used "->" operator and it ran with out any error.i have amazed?May u have mistaken while writing here.
Check out the declaration and definition for the massege map fuction of that button control.
birajendu
CyberG India
Delhi
India
|
|
|
|
|
Then do Space trigger the event
or
might be the button is not focued
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Hi ,
Pressing Space bar does trigger the event.
The problem is Enter Key does not and the button does have focus.
Thanks,
Gayathri
|
|
|
|
|
GayathriNaveen wrote: The problem is Enter Key does not and the button does have focus.
Yeah it's happening here too. It's international .
But second time the button has focus it's working. Press tab and remove focus and then press Shift+Tab to shift back the focus. Now enter will work.
(Not the solution;P)
Love Forgives--Love Gives--Jesus is Love <marquee direction="up" height="50" scrolldelay="1" step="1" scrollamount="1" style="background-color:'#44ccff'">
--Owner Drawn
--Nothing special
--Defeat is temporary but surrender is permanent
--Never say quits
--Jesus is Lord
|
|
|
|
|
HI..
I am devloping an application for Window CE.NET device running on x86 board.I want to debug my program in my workstation(a window xp based pc)by conecting the target device through eVC++'s platform manager.HOW COULD I CONNECT THE TARGET DEVICE USING TCP/IP FOR WINDOW CE?
I have selected the startup server as manual server,then the platfom manager dialogg box gave some file names to be present in my target device and told to run a command line to run in my target device.I ahve searched for those files,ofcourse they are present there in my target device but that command line is not working in my target device.PLZ help me...
thanx in advance.
birajendu
CyberG India
Delhi
India
|
|
|
|
|
I derived a class from CAsyncSocket;
if i want to send data,
shall i use AsyncSelect(FD_WRITE) and send data in virtual function OnSend(int nErrorCode);
Or use Send(const void* lpBuf,int nBufLen,int nFlags = 0) directly
|
|
|
|
|
if you want ASync send then AsyncSelect(FD_WRITE) (only once)
followed by many Send to send as many data, if you dont want ASync Data Sending then AsyncSelect(FD_WRITE) is not required.
MSDN has very good doc on this, you should read that first.
-Prakash
|
|
|
|