;Cpaintdc DC (this );Getclientrect (rect );DC. fillsolidrect (rect, RGB (0,255, 0 ));//Set to green
Cdialog: onpaint ();}
----Method 3: OverloadOnctlcolor (CDC * PDC, cwnd * pwnd, uint nctlcolor), That isWm_ctlcolorMessage. The specific steps are as follows (the above project prevails ): ----①InCexampledlgdlgIn the header file, addCbrushMember variables:
Class cexampledlgdlg: Public cdialog{...Protected:Cbrush m_brush;...};
----②InOninitdialog ()Add the following code to the function: Bool cexa
discarded, what is it instead?The WM_CTLCOLOR message is used to complete setting the background and font color for controls such as edit, STATIC, button,Automatic generation of the OnCtlColor () function using the Class wizardThis function sets the desired color and then returns a brush handle to redraw the control background color. The onctlcolor () function handles the control's background color by capturing the corresponding control message. Common types of such messages are:ctlcolor_dlg di
I remember that when I first started the mentoring meeting and talked about the progress, master learned C # And Dawei made meeting records. We didn't even know how to write them. We were so small that we had to ask Master, now I have learned C #. I'm a little excited! In addition to C #, I also briefly introduced the knowledge of UML and design patterns in the video. I can see that the UML mentioned in the video has a sense of familiarity.
I remembe
changing and everything is there. Experience is capital. The Inheritance of mentoring is very important. When new people go up, there are only some basic instructions, some dead knowledge, which requires guidance from the master to be more flexible. I have been a trainee for so long. I am very grateful to every master for correcting my mistakes and cultivating my habits. Although I have a designated Master, every "senior" gave me a good feeling and d
to open the mentoring page and find a good-looking apprentice. The road to the master game is much smoother, remember to perform mentoring tasks every day.
3) You can add a family at Level 15. You can immediately find a family. If you have more experience in family activities, try to participate.
From to 20, there will be more tasks to be able to answer in 20, including infinite books, answers, rank, King
After, Tang Monk learned how to seek truth from Buddha.
For example, "Do you have a USB flash drive ?"
Tang Seng mentoring ....
For example, "What about mobile hard disks ?"
Tang Seng mentoring ....
For example, "How can we copy the text to you ?"
Wukong picked up his ears.
With a sigh: "You have only sent it to you online. You should go back ."
Wukong: "relying on it, I knew it would be nice to a
1. Change the iconCopy the icon to the resource file, load the project, and set the ID.In the dialog constructor, modify the icon's ID.Iconcmfc_framedlg::cmfc_framedlg (cwnd* pparent/*=null*/): CDialog (Cmfc_framedlg::idd, pparent) {M_hIcon = AfxGetApp ()->loadicon (idi_mainframe); Change to New icon ID}2. Direct Skin ChangeSkinshape tools SkinH.dll Skinh.; The IB Skinh.she SkinH.h are copied to the project catalog.Add in StdAfx.hdialog box is called before the add3. Change the backgroundFirst
Practical, remember.1, find the appropriate bitmap on the Internet, and add bitmap resources, such as named Idb_back1;2, insert the dialog box, first drag and drop the control;3. Add two variables, bitmap variables and brush variables in the dialog class:CBitmap M_bmback;CBrush M_brback;This is declared as a class member in order to avoid the case where the local variable is destroyed after the function has finished running.4. Load bitmap resources and bit drawing brushes in OnInitDialog:...M_bm
For the convenience of illustration, we have built good one dialog-based project named Ttest.
dialog box class is Ctestdlg
First load a picture with ID IDB_BITMAP2
In TestDlg.h
CBrush m_brbk;//defined in public
In TestDlg.cpp
In the initialization function OnInitDialog (), add:
BOOL Ctestdlg::oninitdialog ()
{
CDialog::OnInitDialog ();
CBitmap bmp;
Bmp. LoadBitmap (IDB_BITMAP2);
M_brbk.createpatternbrush (bmp);
Bmp. DeleteObject ();
return TRUE; Return TRUE unless you set the focus
, cwnd* pwnd, UINT nCtlColor){Hbrush HBR = Cdialog::onctlcolor (PDC, pwnd, nCtlColor);if ((nCtlColor = = Ctlcolor_edit) (Pwnd->getdlgctrlid () ==idc_edit)){Pdc->setbkmode (Transparent); Set the background transparent so that when the output character isis called the Hollow word, instead of having a white undertonePdc->settextcolor (RGB (255,0,0)); Change the color of a fontReturn Hbrush (Getstockobject (Hollow_brush));}return
organization.
98. Modesty
Arrogance is a disease that will make you forget your real friends and their importance. Be humble when you make progress. Help others make progress with you, or even surpass you.
99. review your past
Review your past and keep in touch with those who are important to you from an early age.
100. Find several mentors
Find a mentor who is talented, experienced, and willing to invest time to help you make progress. Instead of deciding your career development direction base
,Void * context,Alt_isr_func handler){Int rc =-einval;Alt_irq_context status;
If (ID {/** Interrupts are disabled while the handler tables are updated to ensure* That an interrupt doesn' t occur while the tables are in an inconsistant* State.*/
Status = alt_irq_disable_all ();
Alt_irq [ID]. Handler = handler;Alt_irq [ID]. Context = context;
Rc = (handler )? Alt_irq_enable (ID): alt_irq_disable (ID );
Alt_irq_enable_all (Status );}Return RC;}
With the help of heroes in the group, nnd i
enterprise, the HR department will divide the employee's abilities based on the level of work, such as the level of IT professionals and supervisors.
Brookmire suggested, "Go directly to HR and ask for the information. Sometimes it is published on the Enterprise Portal ." This is a good start to develop a career development plan.
Find a mentor
The mentor can help in many ways. In many cases, IT is critical for individuals to become enterprise IT supervisors. They can provide good advice on th
great responsibility. In the future, I will try my best to seek help from the old players. If I can't, I will simply let it go. 5. failed in mentoring training mode. I am fan of an empirical mistake, because HDU's old team members have many successful mentoring precedent, therefore, during these two years of training, I also assigned a dedicated instructor for each new team member. However, the actual resu
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/3F/EE/wKioL1PM1dezc0cqAAHDhajmshE371.jpg "border =" 0 "/> Good news: the school has recently added four member cards: instructor Li Xiaopeng and Gao Anding.InstructorWang YongInstructorAnd the old sectionInstructor. If you purchase a membership card, you will be able to view all the courses of the lecturer, including the courses that will be introduced later. You can also directly communicate with the lecturer, answer questions, and
dragon. After the death of my mother-in-law, the two men lived together and connected to each other. unconsciously, they felt male and female. The two are uncertain about this situation. Unfortunately, this relationship between mentoring and mentoring is not a secular one, and is forced to be separated because of the changing nature. after sixteen years, they began to continue their friendship ......
In th
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.