라디오 버튼 그룹지정 하기

Programming/Windows Programming 2009. 8. 22. 01:05

라디오버튼 컨트롤을 선택한 상태에서 속성창을 보면 Group 설정하는게 있다

true 나 false 둘 중 하나를 선택 할 수 있다. 3개 2개 의 라디오 버튼을 각각 그룹화 한다고 해보자.

이 때 각 그룹의 첫 번째 라디오버튼의 속성에 있는 Group 를 true 로 설정해주면 라디오버트 ID값을

기준으로 처음 true 속성을 가진 라디오버튼 부터 다음 true를 가진 라디오 버튼이 나올때 까지 사이

의 ID값을 기준으로 그룹을 나눈다.

// 그룹1
radio1    true
radio2    false
radio3    false

// 그룹2
radio4    true
radio5    false

'Programming > Windows Programming' 카테고리의 다른 글

Editbox 설정  (0) 2009.09.26
컨트롤 변수 사용( Value )  (0) 2009.09.22
IP HELP API 설정하기  (0) 2009.08.22
[MFC] 더블 버퍼링  (0) 2009.06.22
[MFC] Bitmap Object  (0) 2009.06.07

설정

트랙백

댓글

IP HELP API 설정하기

Programming/Windows Programming 2009. 8. 22. 00:30

먼저 #include <iphlpapi.h> 해준다.

그리고 include file directory 에는 C:\PROGRAM FILES (X86)\MICROSOFT SDKS\WINDOWS\V5.0\INCLUDE 와 같이 X86 계열 폴더로 명시해준다.

lib directory 에는 C:\PROGRAM FILES\MICROSOFT SDKS\WINDOWS\V6.0A\LIB
으로 x86이 아닌 폴더로 명시

개발 환경 : Windows 7

아마 윈도우 7 64비트용 운영체제 때문에 계열을 신경써서 인클루드를 해야하는 것 같다.
그렇지 않으면 신경쓰지 않고, include와  lib 폴더만 잘 명시해주면 될 것 같다.

'Programming > Windows Programming' 카테고리의 다른 글

컨트롤 변수 사용( Value )  (0) 2009.09.22
라디오 버튼 그룹지정 하기  (0) 2009.08.22
[MFC] 더블 버퍼링  (0) 2009.06.22
[MFC] Bitmap Object  (0) 2009.06.07
[MFC] GDI( Graphics Device Interface )  (0) 2009.06.07

설정

트랙백

댓글

[ POWER ENGLISH ] 2004-03-10

English/EBS 2009. 8. 21. 15:50
Korean sprit
한국 술


by far
훨씬, 단연 (최상급, 때로 비교급을 수식함) ( 강조 )
ex ) by far the most popular



clear sprit
색이 없는 투명한 술


strength
강도 - 술의 도수, proof


deceptibly easy to drink
독하지 않기 때문에 쉽게 넘어간다.
ex ) That can make deceptibly easy to drink. 독하지 않기 때문에 쉽게 넘어간다.



polish off
= finish off ( 식사 or 일 ) 끝내다. 먹어치우다 / 윤을 내다.


floor someone
바닥에 쓰러뜨리다. 떄려 눞히다. ( 놀라거나 쇼크로 ) 졸로시키다. 실신시키다.


cup of tea
= type of thing I like 취향
ex ) it's not my cup of tea.



up turn
뒤집다.
ex ) People up turn and shake the empty glass over their heads.


what chama call it
그거 있잖아. 거시기
ex ) call it... what chama call it



Here's to you[ success and so on ]
위하여~ ( 술 마실 때 )


seniority
나이 순위, 연배
in order of ~ from the top down.



donate
주다.
ex ) Two hands donates respect. 두 손으로 따르는 것은 공손한 것이다.



drinks are always poured by someone else.
The pouring technic is important


call for something
= demand 요청하다

정부가 단합을 외치고 있다.
The goverment is calling for unity.

이사회가 더 높은 이윤을 남기라고 요구하고 있다.
The board of directors are calling for higher profits[ profitability ].

투자자들이 더운 투명한 경영을 요구하고 있다.
The investors are calling for more transparent management.


'English > EBS' 카테고리의 다른 글

[ POWER ENGLISH ] 2004-03-09  (1) 2009.08.19
[ POWER ENGLISH ] 2004-03-08  (0) 2009.08.19
[ POWER ENGLISH ] 2004-03-06  (0) 2009.08.18
[ POWER ENGLISH ] 2004-03-05  (0) 2009.08.13
[입트영] 2009 March - dae-ri-un-jeon  (0) 2009.08.11

설정

트랙백

댓글

vs( visual studio )9 전처리기 정의 설정

IDE/Visual Studio 2009. 8. 21. 15:03

위와 같이 프로젝트 속성에 들어가게 되면 아래와 같은 창이 뜬다.


여기서 Configuration 에 debug 인지 release 모드인지 먼저 선택을 하고, C/C++ - Preprocessor 에 가면 Preprocessor Definition 에 원하는 정의를 입력해 주면 된다.

설정

트랙백

댓글

IP 주소 변경하기

Programming 2009. 8. 21. 09:55
실제 커맨드 상태에서 변경하는 방법은 아래와 같습니다.

netsh interface ip set address "로컬 영역 연결" static/dhcp ipaddr subnetmask gateway metric

ex)  * DHCP 의 경우 
        -
netsh interface ip set address "로컬 영역 연결" dhcp
      * 고정  IP의 경우 

        - netsh interface ip set address "로컬 영역 연결" static        192.168.0.2         255.255.255.0      192.168.0.1     1  (게이트웨이까지 도달거리니까. 1이 기본)

참고, 현재 인터페이스 상태를 보고 싶을 때
      - netsh interface ip show address

대부분은 netsh [하위 명령어] /? 하면서 따라가면 명령어의 사용법에 대해서 알 수 있다.

'Programming' 카테고리의 다른 글

serialize ( 직렬화 )  (0) 2010.03.22
시리얼 통신  (0) 2009.10.19
뉴욕의 프로그래머  (0) 2009.09.04
[Network]슬라이딩 윈도우( Sliding window )  (0) 2009.09.04
[도서] 임베디드 프로그래밍 C 코드 최적화  (0) 2009.08.12

설정

트랙백

댓글

[Grammar in use Inter] UNIT 41 ~ 50

English 2009. 8. 19. 18:50

UNIT41

I don't like being ~
ex ) I don't like being told what to do.
       I don't like being given a toy drum on my fifth birthday.
       I don't like being kept waiting.


수동형에서 get 이 be 대신에 사용 될 수 있다.
nobody got hurt
Ann didn't get offered the job.


UNIT42

allege
If you allege that something bad is true, you say it but do not prove it. (FORMAL)
(근거없이) 주장하다 = claim

be supposed to
1. It's supposed to be very good. 그게 매우 좋다고 그러더라
2. I'm supposed to meet Ann at 8:15. 8:15분에 Ann을 만났어야 했는데... ( 실제로 일어난 것과 다름 )
3. You're not supposed to do something. 그거 하면 안되는데... ( 충고 or 허용 되지 않음 )


UNIT 43

have something done
Lisa had the roof repaired yesterday. 리사는 어제 지붕을 고치라고 했다.

I had him repair. 나는 그가 고치게 했다.


UNIT44

Tom said, "I am feeling sick."
Tom said that he was feeling sick.


UNIT49

It's a nice day, isn't it? ( 사실임을 알고, 상대방에게 Yes를 기대함 - 목소리는 내려감 )
You haven't seen Lisa today , have you? ( 실제 질문 - 목소리는 올라감 )


UNIT50

Would you mind closing the door? ( not mind to close the door )
We can't go on living like this!

V + somebody + -ing: ing하는 somebody를 ~하다
I can't Imagine Gorge riding a motorbike.
Sorry to keep you waiting so long

V-ed having done/said/ p.p = V-ed  ing : 이미 끝난 행동들에 대해 사용
She admitted having stolen the money.
She admitted stealing the money.
I now regret saying it.

'English' 카테고리의 다른 글

[TOEIC] 모의토익  (0) 2009.10.10
Toeic Listening - 1  (0) 2009.09.23
[News] Refugee Status  (0) 2009.08.19
[News] Seoul Confirms 76 More Flu Cases After 2 Deaths  (0) 2009.08.18
[Writing] 2  (0) 2009.08.13

설정

트랙백

댓글

[News] Refugee Status

English 2009. 8. 19. 18:21

For refugee status: Refugee applicants to Korea hold pickets that urge(주장하다) the Korean government to grant( (탄원,간청 등을) 승인하다, 허가하다, 들어주다 ) them refugee status at a press conference( 기자 회견 ) in front of the National Human Rights Commission(위원회) in Seoul, Tuesday. They also requested that the government allow them to work to make a living while their applications are being screened.

picket [píkit]
picketing 피케팅 시위

grant ( n )
( 특정 목적을 위한 ) 보조금, ( 연구비 장학금 등의 ) 조성금

'English' 카테고리의 다른 글

Toeic Listening - 1  (0) 2009.09.23
[Grammar in use Inter] UNIT 41 ~ 50  (0) 2009.08.19
[News] Seoul Confirms 76 More Flu Cases After 2 Deaths  (0) 2009.08.18
[Writing] 2  (0) 2009.08.13
[Writing] 1  (1) 2009.08.12

설정

트랙백

댓글

[ POWER ENGLISH ] 2004-03-09

English/EBS 2009. 8. 19. 17:23

phenomenon
현상


sovereignty
Sovereignty is the power that a country has to govern itself or another country or state.
           Britain's concern to protect national sovereignty is far from new.
      = autonomy 주권, 통치권



something hits up
심화되다. 악화되다
A situation gets hitting up.



islet
An islet is a small island.


Initiate
If you initiate something, you start it or cause it to happen.
           They wanted to initiate a discussion on economics...


run
= to publish, print
run stamp 우표를 발행하다.



goof
= fool, idiot
If you call someone a goof, you think they are silly. (INFORMAL)
           I could write for TV as well as any of those goofs.


side with someone
If one person or country sides with another, they support them in an argument or a war. If people or countries side against another person or country, they support each other against them.
           There has been much speculation that America might be siding with the rebels...
~의 편을 들다.



dispute( n, v ), disputed( a )
A dispute is an argument or disagreement between people or groups.
           They have won previous pay disputes with the government...
 논쟁하다, 논쟁
disputed territory 분쟁 지역( 영토 )



distortion ( n ), distort( v )
Distortion is the changing of something into something that is not true or not acceptable.
           I think it would be a gross distortion of reality to say that they were motivated by self-interest...
외곡


대답할 가치도 없다고 생각한다.
We don't think it even deserves to response


side with

왜 그녀 편을 드는데?
Why are you siding with her?

난 누구 편도 아니다.
I'm not siding with anyone.

이 문제에 관해서 내 편을 들어줄 사람은 무수히 많다
There are tons of people siding with me on this issue.


post up your question on Q&A board

'English > EBS' 카테고리의 다른 글

[ POWER ENGLISH ] 2004-03-10  (1) 2009.08.21
[ POWER ENGLISH ] 2004-03-08  (0) 2009.08.19
[ POWER ENGLISH ] 2004-03-06  (0) 2009.08.18
[ POWER ENGLISH ] 2004-03-05  (0) 2009.08.13
[입트영] 2009 March - dae-ri-un-jeon  (0) 2009.08.11

설정

트랙백

댓글

[ POWER ENGLISH ] 2004-03-08

English/EBS 2009. 8. 19. 03:07
I've never felt any other way.
= I've felt all the time.
그렇지 않을 때가 없었어(항상 그렇게 느껴왔어).

blurredvision 
눈이 침침한

muscle joint pain
근육통

inescapable
= inevitable 불가피한

epidemic
유행병, 전염병

chronic disease
만성병

make that up
= event something( make a story ) to deceive
꾸며내다, 이야기를 만들어내다, 지어내다.


Correction!
천만에 말씀 틀렸어!

heretofore
지금까지는, 이전에는 = previously

diagnose
진단하다.
undiagnosed
진단되지 않은... 알려지지 않은 (질병)

exhibit denial
( 징후, 감정 등을 ) 나타내다, 드러내다.
( 어떤 징후를 ) 부정을 한다.


Anecdotal evidence
 ~ is based on individual accounts, rather than on reliable research or statistics, and so may not be valid. 사실에 근거하지 않은 증거

scientific evidence

gullible
If you describe someone as gullible, you mean they are easily tricked because they are too trusting.
      ex ) I'm so gullible I would have believed him.
잘 속는, 잘 믿는, 귀가 얇은 ( 사람 )



어린시절을 그리워 한적이 있습니까?
Do u ever miss ur childhood days?

외로울 떄가 있나요?
Do u ever get lonely?

만취할 때 까지 마신적 있나요?
Do u ever get really drunk?




'English > EBS' 카테고리의 다른 글

[ POWER ENGLISH ] 2004-03-10  (1) 2009.08.21
[ POWER ENGLISH ] 2004-03-09  (1) 2009.08.19
[ POWER ENGLISH ] 2004-03-06  (0) 2009.08.18
[ POWER ENGLISH ] 2004-03-05  (0) 2009.08.13
[입트영] 2009 March - dae-ri-un-jeon  (0) 2009.08.11

설정

트랙백

댓글

#include 와 #define 의 순서

Programming/C Language 2009. 8. 18. 23:08
#include 를 먼저 쓰고 #define 을 사용 하도록 한다.

#include <Turboc.h>
#define lpText "매크로"

void main()
{
   MessageBox( NULL, lpText, ~~ );
}



이 때 #define을 #include 위에 먼저 쓰게 되면 에러가 발생 한다. 그 이유는 MessageBox의 원형을 보면 MessageBox( HWND hWnd, LPCSTR lpText, ~ ); 으로 되어 있는데 두번째 인자가 lpText로 매크로 정의 한 것과 같다. 그래서 #define을 먼저 쓰게 되면 함수 원형의 lpText도 매크로로 치환이 되서 에러가 발생하게 된다.

출처 : www.winapi.co.kr

'Programming > C Language' 카테고리의 다른 글

#if  (0) 2010.05.27
구조체 정렬  (0) 2009.09.27
매크로 함수  (0) 2009.08.18
코딩 스타일  (0) 2009.08.15
#ifndef ~ #define ~ #endif  (0) 2009.08.15

설정

트랙백

댓글